Skip to content

Commit 2dea9e4

Browse files
committed
WIP
1 parent e31d359 commit 2dea9e4

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

src/cdk-experimental/tsconfig-tests.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@
2727
// Include the index.ts for each secondary entry-point
2828
"./*/index.ts",
2929
"**/*.spec.ts"
30+
],
31+
"exclude": [
32+
"**/*.e2e.spec.ts"
3033
]
3134
}

src/cdk/testing/e2e/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ exports_files(["tsconfig-e2e.json"])
66

77
ts_library(
88
name = "e2e",
9-
srcs = glob(["test-util/**/*.ts"]),
9+
testonly = True,
10+
srcs = glob(["**/*.ts"]),
1011
module_name = "@angular/cdk/testing/e2e",
1112
deps = [
1213
"@npm//@types/jasmine",

src/cdk/testing/e2e/tsconfig-e2e.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/cdk/tsconfig-tests.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
},
1616
"files": [
1717
"./testing/index.ts",
18-
"./testing/e2e/index.ts",
1918
"typings.d.ts"
2019
],
2120
"angularCompilerOptions": {
@@ -32,10 +31,12 @@
3231
"include": [
3332
// Include the index.ts for each secondary entry-point
3433
"./*/index.ts",
35-
"**/*.spec.ts",
36-
"./testing/e2e/index.ts"
34+
"**/*.spec.ts"
3735
],
3836
"exclude": [
39-
"**/schematics/**/*.ts"
37+
"**/schematics/**/*.ts",
38+
// Exclude end-to-end tests and utilities
39+
"**/*.e2e.spec.ts",
40+
"./testing/e2e/**"
4041
]
4142
}

src/material-experimental/tsconfig-tests.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
// Include the index.ts for each secondary entry-point
2424
"./*/index.ts",
2525
"**/*.spec.ts"
26+
],
27+
"exclude": [
28+
"**/*.e2e.spec.ts"
2629
]
2730
}

src/material/tsconfig-tests.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"index.ts"
3030
],
3131
"exclude": [
32-
"**/schematics/**/*.ts"
32+
"**/schematics/**/*.ts",
33+
"**/*.e2e.spec.ts"
3334
]
3435
}

0 commit comments

Comments
 (0)