Skip to content

Commit

Permalink
break: Removed ava support
Browse files Browse the repository at this point in the history
Signed-off-by: Jaid <jaid.jsx@gmail.com>
  • Loading branch information
Jaid committed May 26, 2021
1 parent 4957e85 commit e567bb6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 13 deletions.
43 changes: 35 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "11.0.0",
"author": "Jaid <jaid.jsx@gmail.com> (https://github.com/Jaid)",
"dependencies": {
"@ava/babel-preset-transform-test-files": "^6.0.0",
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/node": "^7.14.2",
Expand Down
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ export default (api, options) => {
cwd: configBuilder.cwd,
})

if (api.env("test")) {
configBuilder.presetForDependency("ava", "@ava/babel-preset-transform-test-files")
}

const presetEnvOptions = {
loose: options.loose,
...options.envOptions,
Expand Down

0 comments on commit e567bb6

Please sign in to comment.