Skip to content

Commit d6fdd47

Browse files
committed
split tests in ci otherwise the tests are run in watch mode
1 parent b43e9c0 commit d6fdd47

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,15 @@ jobs:
3737
- name: build
3838
run: npm run build
3939
timeout-minutes: 5
40-
- name: test
40+
- name: test-library
4141
run: npm run test:testing-library
4242
timeout-minutes: 5
43+
- name: test-examples
44+
run: npm run test:example-app
45+
timeout-minutes: 5
46+
- name: test-karma-examples
47+
run: npm run test:karma-app
48+
timeout-minutes: 5
4349
- name: lint
4450
run: npm run lint
4551
timeout-minutes: 5

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"test": "ng test",
1010
"test:testing-library": "ng test testing-library",
1111
"test:example-app": "ng test example-app",
12+
"test:karma-app": "ng test example-app-karma",
1213
"lint": "ng lint",
1314
"lint:all": "ng lint testing-library && ng lint example-app && ng lint example-app-karma",
1415
"format": "prettier --write .",

projects/testing-library/src/lib/testing-library.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export async function render<SutType, WrapperType = SutType>(
7676
childComponentOverrides = [],
7777
componentImports,
7878
excludeComponentDeclaration = false,
79-
removeAngularAttributes = false,
8079
routes = [],
80+
removeAngularAttributes = false,
8181
defaultImports = [],
8282
initialRoute = '',
8383
deferBlockStates = undefined,

0 commit comments

Comments
 (0)