Skip to content

Commit

Permalink
test(jest): 4 workers
Browse files Browse the repository at this point in the history
  • Loading branch information
satanTime committed Jun 3, 2021
1 parent f440760 commit e4ac201
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- run:
name: Collecting https://codeclimate.com/github/ike18t/ng-mocks
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 \
curl -sL https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 \
> $HOME/codeclimate
chmod +x $HOME/codeclimate
$HOME/codeclimate before-build
Expand Down
10 changes: 5 additions & 5 deletions e2e/a10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"test:jasmine:es2015:no-ivy": "ng test --ts-config ./tsconfig.es2015noivy.spec.json --progress=false",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "npm run test:jest:es5:ivy && npm run test:jest:es5:no-ivy &&npm run test:jest:es2015:ivy &&npm run test:jest:es2015:no-ivy",
"test:jest:es5:ivy": "jest -w 1 --config jest.es5ivy.js",
"test:jest:es5:no-ivy": "jest -w 1 --config jest.es5noivy.js",
"test:jest:es2015:ivy": "jest -w 1 --config jest.es2015ivy.js",
"test:jest:es2015:no-ivy": "jest -w 1 --config jest.es2015noivy.js",
"test:jest:debug": "jest -w 1 --watch"
"test:jest:es5:ivy": "jest -w 2 --config jest.es5ivy.js",
"test:jest:es5:no-ivy": "jest -w 2 --config jest.es5noivy.js",
"test:jest:es2015:ivy": "jest -w 2 --config jest.es2015ivy.js",
"test:jest:es2015:no-ivy": "jest -w 2 --config jest.es2015noivy.js",
"test:jest:debug": "jest -w 2 --watch"
},
"private": true,
"peerDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions e2e/a11/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"test:jasmine:es2015:no-ivy": "ng test --ts-config ./tsconfig.es2015noivy.spec.json --progress=false",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "npm run test:jest:es5:ivy && npm run test:jest:es5:no-ivy &&npm run test:jest:es2015:ivy &&npm run test:jest:es2015:no-ivy",
"test:jest:es5:ivy": "jest -w 1 --config jest.es5ivy.js",
"test:jest:es5:no-ivy": "jest -w 1 --config jest.es5noivy.js",
"test:jest:es2015:ivy": "jest -w 1 --config jest.es2015ivy.js",
"test:jest:es2015:no-ivy": "jest -w 1 --config jest.es2015noivy.js",
"test:jest:debug": "jest -w 1 --watch"
"test:jest:es5:ivy": "jest -w 2 --config jest.es5ivy.js",
"test:jest:es5:no-ivy": "jest -w 2 --config jest.es5noivy.js",
"test:jest:es2015:ivy": "jest -w 2 --config jest.es2015ivy.js",
"test:jest:es2015:no-ivy": "jest -w 2 --config jest.es2015noivy.js",
"test:jest:debug": "jest -w 2 --watch"
},
"peerDependencies": {
"ng-mocks": "*"
Expand Down
6 changes: 3 additions & 3 deletions e2e/a12/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"test:jasmine:es2015:ivy": "ng test --ts-config ./tsconfig.es2015ivy.spec.json --progress=false",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "npm run test:jest:es5:ivy && npm run test:jest:es2015:ivy",
"test:jest:es5:ivy": "jest -w 1 --config jest.es5ivy.js",
"test:jest:es2015:ivy": "jest -w 1 --config jest.es2015ivy.js",
"test:jest:debug": "jest -w 1 --watch"
"test:jest:es5:ivy": "jest -w 2 --config jest.es5ivy.js",
"test:jest:es2015:ivy": "jest -w 2 --config jest.es2015ivy.js",
"test:jest:debug": "jest -w 2 --watch"
},
"peerDependencies": {
"ng-mocks": "*"
Expand Down
4 changes: 2 additions & 2 deletions e2e/a5es2015/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test:debug": "npm run test:jasmine -- --browsers=Chrome --watch",
"test:jasmine": "ng test",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "jest -w 1",
"test:jest:debug": "jest -w 1 --watch"
"test:jest": "jest -w 2",
"test:jest:debug": "jest -w 2 --watch"
},
"private": true,
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions e2e/a5es5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test:debug": "npm run test:jasmine -- --browsers=Chrome --watch",
"test:jasmine": "ng test",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "jest -w 1",
"test:jest:debug": "jest -w 1 --watch"
"test:jest": "jest -w 2",
"test:jest:debug": "jest -w 2 --watch"
},
"private": true,
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions e2e/a6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"test:jasmine:es2015": "ng test --ts-config ./tsconfig.es2015.spec.json --progress=false",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "npm run test:jest:es5 && npm run test:jest:es2015",
"test:jest:es5": "jest -w 1 --config ./jest.es5.js",
"test:jest:es2015": "jest -w 1 --config ./jest.es2015.js",
"test:jest:debug": "jest -w 1 --watch"
"test:jest:es5": "jest -w 2 --config ./jest.es5.js",
"test:jest:es2015": "jest -w 2 --config ./jest.es2015.js",
"test:jest:debug": "jest -w 2 --watch"
},
"private": true,
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions e2e/a7/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"test:jasmine:es2015": "ng test --ts-config ./tsconfig.es2015.spec.json --progress=false",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "npm run test:jest:es5 && npm run test:jest:es2015",
"test:jest:es5": "jest -w 1 --config ./jest.es5.js",
"test:jest:es2015": "jest -w 1 --config ./jest.es2015.js",
"test:jest:debug": "jest -w 1 --watch"
"test:jest:es5": "jest -w 2 --config ./jest.es5.js",
"test:jest:es2015": "jest -w 2 --config ./jest.es2015.js",
"test:jest:debug": "jest -w 2 --watch"
},
"private": true,
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions e2e/a8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"test:jasmine:es2015": "ng test --ts-config ./tsconfig.es2015.spec.json --progress=false",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "npm run test:jest:es5 && npm run test:jest:es2015",
"test:jest:es5": "jest -w 1 --config ./jest.es5.js",
"test:jest:es2015": "jest -w 1 --config ./jest.es2015.js",
"test:jest:debug": "jest -w 1 --watch"
"test:jest:es5": "jest -w 2 --config ./jest.es5.js",
"test:jest:es2015": "jest -w 2 --config ./jest.es2015.js",
"test:jest:debug": "jest -w 2 --watch"
},
"private": true,
"peerDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions e2e/a9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"test:jasmine:es2015:no-ivy": "ng test --ts-config ./tsconfig.es2015noivy.spec.json --progress=false",
"test:jasmine:debug": "ng test -- --watch --browsers Chrome",
"test:jest": "npm run test:jest:es5:ivy && npm run test:jest:es5:no-ivy &&npm run test:jest:es2015:ivy &&npm run test:jest:es2015:no-ivy",
"test:jest:es5:ivy": "jest -w 1 --config jest.es5ivy.js",
"test:jest:es5:no-ivy": "jest -w 1 --config jest.es5noivy.js",
"test:jest:es2015:ivy": "jest -w 1 --config jest.es2015ivy.js",
"test:jest:es2015:no-ivy": "jest -w 1 --config jest.es2015noivy.js",
"test:jest:debug": "jest -w 1 --watch"
"test:jest:es5:ivy": "jest -w 2 --config jest.es5ivy.js",
"test:jest:es5:no-ivy": "jest -w 2 --config jest.es5noivy.js",
"test:jest:es2015:ivy": "jest -w 2 --config jest.es2015ivy.js",
"test:jest:es2015:no-ivy": "jest -w 2 --config jest.es2015noivy.js",
"test:jest:debug": "jest -w 2 --watch"
},
"private": true,
"peerDependencies": {
Expand Down

0 comments on commit e4ac201

Please sign in to comment.