Skip to content

Commit

Permalink
feat: make iobroker types available in test directory
Browse files Browse the repository at this point in the history
  • Loading branch information
theknut committed Feb 8, 2024
1 parent c29c2a5 commit b715380
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion templates/tsconfig.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export = (answers => {

if (useTypeScript) {
include = `
"src/**/*.ts"`;
"src/**/*.ts",
"test/**/*.ts"`;
exclude = `
"build/**",`;
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"inlineSourceMap": false
},
"include": [
"src/**/*.ts"
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"build/**",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"inlineSourceMap": false
},
"include": [
"src/**/*.ts"
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"build/**",
Expand Down
3 changes: 2 additions & 1 deletion test/baselines/adapter_TS_React/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"inlineSourceMap": false
},
"include": [
"src/**/*.ts"
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"build/**",
Expand Down
3 changes: 2 additions & 1 deletion test/baselines/minNodeVersion_18/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"inlineSourceMap": false
},
"include": [
"src/**/*.ts"
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"build/**",
Expand Down
3 changes: 2 additions & 1 deletion test/baselines/minNodeVersion_20/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"inlineSourceMap": false
},
"include": [
"src/**/*.ts"
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"build/**",
Expand Down

0 comments on commit b715380

Please sign in to comment.