File tree Expand file tree Collapse file tree 3 files changed +771
-39
lines changed Expand file tree Collapse file tree 3 files changed +771
-39
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ docker-compose exec php bin/console hautelook:fixtures:load -n
12
12
docker-compose exec php bin/console doctrine:schema:drop --env=test --force
13
13
docker-compose exec php bin/console cache:warmup --env=test
14
14
docker-compose exec php bin/behat --format=progress
15
+ docker-compose exec client yarn install --pure-lockfile
16
+ docker-compose exec client yarn jest --ci --reporters=default --reporters=jest-junit
15
17
curl -s http://localhost # Client
16
18
curl -s http://localhost:81 # Admin
17
19
curl -s http://localhost:8080 # API
Original file line number Diff line number Diff line change 16
16
"redux-thunk" : " ^2.2.0"
17
17
},
18
18
"devDependencies" : {
19
+ "jest-junit" : " ^5.2.0" ,
19
20
"react-scripts" : " 1.1.4"
20
21
},
21
22
"scripts" : {
22
23
"start" : " react-scripts start" ,
23
24
"build" : " react-scripts build" ,
24
25
"test" : " react-scripts test --env=jsdom" ,
25
26
"eject" : " react-scripts eject"
27
+ },
28
+ "jest" : {
29
+ "reporters" : [
30
+ " default" ,
31
+ " jest-junit"
32
+ ],
33
+ "testPathIgnorePatterns" : [
34
+ " /node_modules/" ,
35
+ " /features"
36
+ ]
26
37
}
27
38
}
You can’t perform that action at this time.
0 commit comments