Skip to content

Commit

Permalink
Update ava config for v4
Browse files Browse the repository at this point in the history
  • Loading branch information
LabhanshAgrawal committed Jan 5, 2022
1 parent e270fc9 commit 37cd54e
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 10 deletions.
6 changes: 1 addition & 5 deletions ava-e2e.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
export default {
module.exports = {
files: ['test/*'],
babel: {
compileEnhancements: false,
compileAsTests: ['**/testUtils/**/*']
},
extensions: ['ts'],
require: ['ts-node/register/transpile-only'],
timeout: '30s'
Expand Down
6 changes: 1 addition & 5 deletions ava.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
export default {
module.exports = {
files: ['test/unit/*'],
babel: {
compileEnhancements: false,
compileAsTests: ['**/testUtils/**/*']
},
extensions: ['ts'],
require: ['ts-node/register/transpile-only']
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
},
"devDependencies": {
"@ava/babel": "2.0.0",
"@ava/typescript": "^3.0.1",
"@babel/cli": "7.16.7",
"@babel/core": "7.16.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
Expand Down
23 changes: 23 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
resolved "https://registry.npmjs.org/@ava/require-precompiled/-/require-precompiled-1.0.0.tgz#6f4a48b75904a753eadff020bbfca81d3bbc0357"
integrity sha512-N7w4g+P/SUL8SF+HC4Z4e/ctV6nQ5AERC90K90r4xZQ8WVrJux9albvfyYAzygyU47CSqMWh6yJwFs8DYaeWmg==

"@ava/typescript@^3.0.1":
version "3.0.1"
resolved "https://registry.npmjs.org/@ava/typescript/-/typescript-3.0.1.tgz#b89efbe000b800fa477c9613795b3ca6a53f7112"
integrity sha512-/JXIUuKsvkaneaiA9ckk3ksFTqvu0mDNlChASrTe2BnDsvMbhQdPWyqQjJ9WRJWVhhs5TWn1/0Pp1G6Rv8Syrw==
dependencies:
escape-string-regexp "^5.0.0"
execa "^5.1.1"

"@babel/[email protected]":
version "7.16.7"
resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.16.7.tgz#4184b5ec6a22106e9dd64bbcaa2eb22675ff595d"
Expand Down Expand Up @@ -3403,6 +3411,21 @@ execa@^5.0.0:
signal-exit "^3.0.3"
strip-final-newline "^2.0.0"

execa@^5.1.1:
version "5.1.1"
resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd"
integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==
dependencies:
cross-spawn "^7.0.3"
get-stream "^6.0.0"
human-signals "^2.1.0"
is-stream "^2.0.0"
merge-stream "^2.0.0"
npm-run-path "^4.0.1"
onetime "^5.1.2"
signal-exit "^3.0.3"
strip-final-newline "^2.0.0"

expand-brackets@^2.1.4:
version "2.1.4"
resolved "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622"
Expand Down

0 comments on commit 37cd54e

Please sign in to comment.