Skip to content

Commit 75e3176

Browse files
committed
add jest-junit
1 parent bb626b5 commit 75e3176

File tree

4 files changed

+195
-432
lines changed

4 files changed

+195
-432
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ commands:
107107
- run:
108108
name: Create and activate virtualenv
109109
command: |
110-
set -x
111-
pwd
112-
cat /home/circleci/.pyenv/libexec/pyenv-version-name
113110
virtualenv ci
114111
. ci/bin/activate
115112
pip install six lxml flake8 tox pytest black .[test]
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
module.exports = {
2-
setupFiles: ["./jest.setup.js"]
2+
setupFiles: ["./jest.setup.js"],
3+
reporters: [
4+
"default",
5+
["jest-junit", { "outputDirectory": "./test-results/jest" }]
6+
]
37
};

notebooker/web/static/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
"eslint-plugin-jest": "^24.3.6",
2121
"eslint-plugin-jsx-a11y": "^6.4.1",
2222
"eslint-plugin-react": "^7.22.0",
23-
"prettier": "^2.2.1",
24-
"jsdom": "^24.0.0",
2523
"jest": "^29.7.0",
26-
"jest-environment-jsdom": "^29.7.0"
24+
"jest-environment-jsdom": "^29.7.0",
25+
"jest-junit": "^16.0.0",
26+
"jsdom": "^24.0.0",
27+
"prettier": "^2.2.1"
2728
},
2829
"main": "notebooker/index.js",
2930
"scripts": {

0 commit comments

Comments
 (0)