[MM-42010] Remove CircleCI check for E2E tests (#2009)
* [MM-42010] Remove CircleCI check for E2E tests * Add jest test reporting * Remove MM docker setup code * Try old method * oops * Forgot to remove MM docker check
This commit is contained in:
15
package.json
15
package.json
@@ -44,6 +44,7 @@
|
||||
"test:e2e:build": "webpack-cli --bail --config webpack.config.test.js",
|
||||
"test:e2e:run": "electron-mocha -r @babel/register --reporter mocha-circleci-reporter dist/tests/e2e_bundle.js",
|
||||
"test:unit": "jest",
|
||||
"test:unit-ci": "jest --runInBand",
|
||||
"test:coverage": "jest --coverage",
|
||||
"package:all": "cross-env NODE_ENV=production npm-run-all check-build-config package:windows package:mac package:mac-universal package:linux",
|
||||
"package:windows": "cross-env NODE_ENV=production npm-run-all check-build-config build && electron-builder --win --x64 --ia32 --publish=never",
|
||||
@@ -84,6 +85,19 @@
|
||||
},
|
||||
"setupFiles": [
|
||||
"./src/jestSetup.js"
|
||||
],
|
||||
"reporters": [
|
||||
"default",
|
||||
[
|
||||
"jest-junit",
|
||||
{
|
||||
"suiteName": "unit tests",
|
||||
"outputName": "test-results.xml",
|
||||
"classNameTemplate": "{classname}-{title}",
|
||||
"titleTemplate": "{classname}-{title}",
|
||||
"ancestorSeparator": "> "
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -137,6 +151,7 @@
|
||||
"file-loader": "^2.0.0",
|
||||
"image-webpack-loader": "5.0.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest-junit": "^13.0.0",
|
||||
"mdi-react": "^6.2.0",
|
||||
"mini-css-extract-plugin": "1.6.0",
|
||||
"mocha": "^5.2.0",
|
||||
|
Reference in New Issue
Block a user