diff --git a/CHANGELOG.md b/CHANGELOG.md index d2442f06..e0d7e725 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ --> ## __WORK IN PROGRESS__ +* (theknut) Make ioBroker types available in the test directory (#1091) * (theknut) Add `licenseInformation` field to `io-package.json` (#1092) ## 2.6.1 (2024-01-15) diff --git a/templates/tsconfig.json.ts b/templates/tsconfig.json.ts index 091830c6..393fcb3b 100644 --- a/templates/tsconfig.json.ts +++ b/templates/tsconfig.json.ts @@ -13,7 +13,8 @@ export = (answers => { if (useTypeScript) { include = ` - "src/**/*.ts"`; + "src/**/*.ts", + "test/**/*.ts"`; exclude = ` "build/**",`; } else { diff --git a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json index f32f1245..48ed29c0 100644 --- a/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json +++ b/test/baselines/adapter_TS_ES6Class_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json @@ -35,7 +35,8 @@ "inlineSourceMap": false }, "include": [ - "src/**/*.ts" + "src/**/*.ts", + "test/**/*.ts" ], "exclude": [ "build/**", diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json index f32f1245..48ed29c0 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/tsconfig.json @@ -35,7 +35,8 @@ "inlineSourceMap": false }, "include": [ - "src/**/*.ts" + "src/**/*.ts", + "test/**/*.ts" ], "exclude": [ "build/**", diff --git a/test/baselines/adapter_TS_React/tsconfig.json b/test/baselines/adapter_TS_React/tsconfig.json index f32f1245..48ed29c0 100644 --- a/test/baselines/adapter_TS_React/tsconfig.json +++ b/test/baselines/adapter_TS_React/tsconfig.json @@ -35,7 +35,8 @@ "inlineSourceMap": false }, "include": [ - "src/**/*.ts" + "src/**/*.ts", + "test/**/*.ts" ], "exclude": [ "build/**", diff --git a/test/baselines/minNodeVersion_18/tsconfig.json b/test/baselines/minNodeVersion_18/tsconfig.json index f32f1245..48ed29c0 100644 --- a/test/baselines/minNodeVersion_18/tsconfig.json +++ b/test/baselines/minNodeVersion_18/tsconfig.json @@ -35,7 +35,8 @@ "inlineSourceMap": false }, "include": [ - "src/**/*.ts" + "src/**/*.ts", + "test/**/*.ts" ], "exclude": [ "build/**", diff --git a/test/baselines/minNodeVersion_20/tsconfig.json b/test/baselines/minNodeVersion_20/tsconfig.json index b493a95b..4c80d776 100644 --- a/test/baselines/minNodeVersion_20/tsconfig.json +++ b/test/baselines/minNodeVersion_20/tsconfig.json @@ -35,7 +35,8 @@ "inlineSourceMap": false }, "include": [ - "src/**/*.ts" + "src/**/*.ts", + "test/**/*.ts" ], "exclude": [ "build/**",