chore: update @open-wc/testing to latest version
This commit is contained in:
parent
b54f7272da
commit
ccac19182a
3 changed files with 360 additions and 310 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
/* eslint-disable import/no-extraneous-dependencies */
|
/* eslint-disable import/no-extraneous-dependencies */
|
||||||
const createDefaultConfig = require('@open-wc/testing-karma/default-config');
|
const { createDefaultConfig } = require('@open-wc/testing-karma');
|
||||||
const merge = require('webpack-merge');
|
const merge = require('webpack-merge');
|
||||||
|
|
||||||
module.exports = config => {
|
module.exports = config => {
|
||||||
|
|
@ -17,6 +17,10 @@ module.exports = config => {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
esm: {
|
||||||
|
nodeResolve: true,
|
||||||
|
},
|
||||||
|
|
||||||
// TODO: improve coverage
|
// TODO: improve coverage
|
||||||
coverageIstanbulReporter: {
|
coverageIstanbulReporter: {
|
||||||
thresholds: {
|
thresholds: {
|
||||||
|
|
|
||||||
19
package.json
19
package.json
|
|
@ -11,18 +11,15 @@
|
||||||
"@open-wc/demoing-storybook": "^0.2.0",
|
"@open-wc/demoing-storybook": "^0.2.0",
|
||||||
"@open-wc/eslint-config": "^1.0.0",
|
"@open-wc/eslint-config": "^1.0.0",
|
||||||
"@open-wc/prettier-config": "^0.1.0",
|
"@open-wc/prettier-config": "^0.1.0",
|
||||||
"@open-wc/testing": "^2.0.6",
|
"@open-wc/testing": "^2.3.2",
|
||||||
"@open-wc/testing-karma": "^2.0.3",
|
"@open-wc/testing-karma": "^3.1.22",
|
||||||
"@open-wc/testing-karma-bs": "^1.1.3",
|
"@open-wc/testing-karma-bs": "^1.1.47",
|
||||||
"@open-wc/testing-wallaby": "^0.1.12",
|
"@open-wc/testing-wallaby": "^0.1.12",
|
||||||
"@webcomponents/webcomponentsjs": "^2.2.5",
|
"@webcomponents/webcomponentsjs": "^2.2.5",
|
||||||
"babel-eslint": "^8.2.6",
|
"babel-eslint": "^8.2.6",
|
||||||
"babel-polyfill": "^6.26.0",
|
"babel-polyfill": "^6.26.0",
|
||||||
"eclint": "^2.8.1",
|
"eclint": "^2.8.1",
|
||||||
"eslint": "^5.14.1",
|
"eslint": "^6.1.0",
|
||||||
"eslint-config-prettier": "^4.0.0",
|
|
||||||
"eslint-plugin-html": "^5.0.3",
|
|
||||||
"eslint-plugin-import": "^2.16.0",
|
|
||||||
"husky": "^1.0.0",
|
"husky": "^1.0.0",
|
||||||
"lerna": "3.4.3",
|
"lerna": "3.4.3",
|
||||||
"lint-staged": "^8.0.0",
|
"lint-staged": "^8.0.0",
|
||||||
|
|
@ -38,12 +35,12 @@
|
||||||
"storybook:build": "build-storybook -s ./assets",
|
"storybook:build": "build-storybook -s ./assets",
|
||||||
"test": "karma start --coverage",
|
"test": "karma start --coverage",
|
||||||
"test:watch": "karma start --auto-watch=true --single-run=false",
|
"test:watch": "karma start --auto-watch=true --single-run=false",
|
||||||
"test:legacy": "karma start --legacy --coverage",
|
"test:compatibility": "karma start --compatibility all --coverage",
|
||||||
"test:legacy:watch": "karma start --legacy --auto-watch=true --single-run=false",
|
"test:compatibility:watch": "karma start --compatibility all --auto-watch=true --single-run=false",
|
||||||
"test:update-snapshots": "karma start --update-snapshots",
|
"test:update-snapshots": "karma start --update-snapshots",
|
||||||
"test:prune-snapshots": "karma start --prune-snapshots",
|
"test:prune-snapshots": "karma start --prune-snapshots",
|
||||||
"test:bs": "karma start karma.bs.config.js --coverage",
|
"test:bs": "karma start karma.bs.config.js --coverage --compatibility all",
|
||||||
"test:bs:legacy": "karma start --legacy karma.bs.config.js --coverage",
|
"test:bs:compatibility": "karma start karma.bs.config.js --coverage --compatibility all",
|
||||||
"lint": "run-p lint:*",
|
"lint": "run-p lint:*",
|
||||||
"lint:eclint": "git ls-files | xargs eclint check",
|
"lint:eclint": "git ls-files | xargs eclint check",
|
||||||
"lint:eslint": "eslint --ext .js,.html .",
|
"lint:eslint": "eslint --ext .js,.html .",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue