mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Update ava config for v4
This commit is contained in:
parent
e270fc97d1
commit
37cd54ebd8
4 changed files with 26 additions and 10 deletions
|
|
@ -1,9 +1,5 @@
|
||||||
export default {
|
module.exports = {
|
||||||
files: ['test/*'],
|
files: ['test/*'],
|
||||||
babel: {
|
|
||||||
compileEnhancements: false,
|
|
||||||
compileAsTests: ['**/testUtils/**/*']
|
|
||||||
},
|
|
||||||
extensions: ['ts'],
|
extensions: ['ts'],
|
||||||
require: ['ts-node/register/transpile-only'],
|
require: ['ts-node/register/transpile-only'],
|
||||||
timeout: '30s'
|
timeout: '30s'
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,5 @@
|
||||||
export default {
|
module.exports = {
|
||||||
files: ['test/unit/*'],
|
files: ['test/unit/*'],
|
||||||
babel: {
|
|
||||||
compileEnhancements: false,
|
|
||||||
compileAsTests: ['**/testUtils/**/*']
|
|
||||||
},
|
|
||||||
extensions: ['ts'],
|
extensions: ['ts'],
|
||||||
require: ['ts-node/register/transpile-only']
|
require: ['ts-node/register/transpile-only']
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ava/babel": "2.0.0",
|
"@ava/babel": "2.0.0",
|
||||||
|
"@ava/typescript": "^3.0.1",
|
||||||
"@babel/cli": "7.16.7",
|
"@babel/cli": "7.16.7",
|
||||||
"@babel/core": "7.16.7",
|
"@babel/core": "7.16.7",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||||
|
|
|
||||||
23
yarn.lock
23
yarn.lock
|
|
@ -39,6 +39,14 @@
|
||||||
resolved "https://registry.npmjs.org/@ava/require-precompiled/-/require-precompiled-1.0.0.tgz#6f4a48b75904a753eadff020bbfca81d3bbc0357"
|
resolved "https://registry.npmjs.org/@ava/require-precompiled/-/require-precompiled-1.0.0.tgz#6f4a48b75904a753eadff020bbfca81d3bbc0357"
|
||||||
integrity sha512-N7w4g+P/SUL8SF+HC4Z4e/ctV6nQ5AERC90K90r4xZQ8WVrJux9albvfyYAzygyU47CSqMWh6yJwFs8DYaeWmg==
|
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/cli@7.16.7":
|
"@babel/cli@7.16.7":
|
||||||
version "7.16.7"
|
version "7.16.7"
|
||||||
resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.16.7.tgz#4184b5ec6a22106e9dd64bbcaa2eb22675ff595d"
|
resolved "https://registry.npmjs.org/@babel/cli/-/cli-7.16.7.tgz#4184b5ec6a22106e9dd64bbcaa2eb22675ff595d"
|
||||||
|
|
@ -3403,6 +3411,21 @@ execa@^5.0.0:
|
||||||
signal-exit "^3.0.3"
|
signal-exit "^3.0.3"
|
||||||
strip-final-newline "^2.0.0"
|
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:
|
expand-brackets@^2.1.4:
|
||||||
version "2.1.4"
|
version "2.1.4"
|
||||||
resolved "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622"
|
resolved "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue