Update ava config and fix line endings

This commit is contained in:
Benjamin Staneck 2020-01-20 20:35:30 +01:00
parent d4437905ce
commit 309ead35cf
3 changed files with 618 additions and 435 deletions

View file

@ -1,7 +1,9 @@
export default { export default {
files: ['test/unit/*'], files: ['test/unit/*'],
helpers: ['**/testUtils/**/*'], babel: {
compileEnhancements: false, compileEnhancements: false,
compileAsTests: ['**/testUtils/**/*']
},
extensions: ['ts'], extensions: ['ts'],
require: ['ts-node/register/transpile-only'] require: ['ts-node/register/transpile-only']
}; };

View file

@ -58,6 +58,7 @@
"xterm-addon-webgl": "^0.4.1" "xterm-addon-webgl": "^0.4.1"
}, },
"devDependencies": { "devDependencies": {
"@ava/babel": "1.0.0",
"@babel/cli": "7.8.3", "@babel/cli": "7.8.3",
"@babel/core": "7.7.7", "@babel/core": "7.7.7",
"@babel/plugin-proposal-class-properties": "^7.8.0", "@babel/plugin-proposal-class-properties": "^7.8.0",
@ -88,7 +89,7 @@
"@types/winreg": "1.2.30", "@types/winreg": "1.2.30",
"@typescript-eslint/eslint-plugin": "2.15.0", "@typescript-eslint/eslint-plugin": "2.15.0",
"@typescript-eslint/parser": "2.15.0", "@typescript-eslint/parser": "2.15.0",
"ava": "2.4.0", "ava": "3.0.0",
"babel-loader": "8.0.6", "babel-loader": "8.0.6",
"babel-preset-minify": "0.5.1", "babel-preset-minify": "0.5.1",
"concurrently": "5.0.2", "concurrently": "5.0.2",

1044
yarn.lock

File diff suppressed because it is too large Load diff