Skip to content

Commit 2f373ca

Browse files
authored
chore: tsconfig not excluding all the tests. (#2559)
Update tsconfig to exclude *.test.ts from build and package
1 parent 111b6c4 commit 2f373ca

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

typescript/packages/group-tree-plot/tsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@
55
"rootDir": "./src"
66
},
77
"include": ["src/"],
8-
"exclude": ["src/test", "./**/*.test.tsx", "./**/*.stories.tsx"]
8+
"exclude": [
9+
"src/test",
10+
"./**/*.test.ts",
11+
"./**/*.test.tsx",
12+
"./**/*.stories.tsx"
13+
]
914
}

typescript/packages/subsurface-viewer/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"exclude": [
99
"src/storybook",
1010
"src/test",
11+
"./**/*.test.ts",
1112
"./**/*.test.tsx",
1213
"./**/*.stories.tsx",
1314
"./storybook"

typescript/packages/well-completions-plot/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"include": ["src/"],
88
"exclude": [
99
"src/test",
10+
"./**/*.test.ts",
1011
"./**/*.test.tsx",
1112
"./**/*.stories.tsx",
1213
"./**/*.stories.jsx"

typescript/packages/well-log-viewer/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"src/demo",
1010
"src/test/",
1111
"src/Storybook/",
12+
"./**/*.test.ts",
1213
"./**/*.test.tsx",
1314
"./**/*.stories.tsx",
1415
"./**/*.stories.mdx"

typescript/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525
"__mocks__",
2626
"cypress",
2727
"coverage",
28+
"**/*.test.ts",
2829
"**/*.test.tsx",
30+
"**/test/*.ts",
2931
"**/test/*.tsx",
30-
"**/*.stories.tsx",
31-
"**/*.test.ts"
32+
"**/*.stories.tsx"
3233
],
3334
"typedocOptions": {
3435
"entryPoints": ["./src/index.ts"],

0 commit comments

Comments
 (0)