adjusted client tests

This commit is contained in:
Wyatt Johnson
2018-02-28 14:00:56 -07:00
parent 744348dee5
commit 2451d4b6d6
4 changed files with 11 additions and 6 deletions
+3 -2
View File
@@ -105,9 +105,10 @@ jobs:
command: mkdir -p /tmp/circleci-test-results
- run:
name: Run the client unit tests
command: yarn test:client --ci --testResultsProcessor="./node_modules/jest-junit-reporter
command: yarn test:client --ci
environment:
TEST_REPORT_PATH: /tmp/circleci-test-results/jest/test-results.xml
JEST_JUNIT_OUTPUT: /tmp/circleci-test-results/jest/test-results.xml
JEST_REPORTER: jest-junit
- run:
name: Run the server unit tests
command: yarn test:server
+2
View File
@@ -27,6 +27,8 @@ module.exports = {
'\\.ya?ml$': '<rootDir>/test/client/yamlTransformer.js',
},
testResultsProcessor: process.env.JEST_REPORTER,
moduleNameMapper: {
'^plugin-api\\/(.*)$': '<rootDir>/plugin-api/$1',
'^plugins\\/(.*)$': '<rootDir>/plugins/$1',
+1 -1
View File
@@ -216,7 +216,7 @@
"identity-obj-proxy": "^3.0.0",
"ip": "^1.1.5",
"jest": "^21.2.1",
"jest-junit-reporter": "^1.1.0",
"jest-junit": "^3.6.0",
"lint-staged": "^7.0.0",
"mocha": "^3.1.2",
"mocha-junit-reporter": "^1.12.1",
+5 -3
View File
@@ -5399,10 +5399,12 @@ jest-jasmine2@^22.4.2:
jest-util "^22.4.1"
source-map-support "^0.5.0"
jest-junit-reporter@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/jest-junit-reporter/-/jest-junit-reporter-1.1.0.tgz#88d6006ec13f82df40c47882c8640989cdcb1434"
jest-junit@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-3.6.0.tgz#f4c4358e5286364a4324dc14abddd526aadfbd38"
dependencies:
mkdirp "^0.5.1"
strip-ansi "^4.0.0"
xml "^1.0.1"
jest-matcher-utils@^21.2.1: