Skip to content

Commit d5fed3e

Browse files
committed
test: update unit tests to not check unsupported options
1 parent 7dce7fa commit d5fed3e

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

test/unit/typescript/type-script-support.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ describe('typescript/type-script-support', () => {
2020
semantic: true,
2121
syntactic: false,
2222
},
23-
enabled: true,
2423
memoryLimit: 2048,
2524
profile: false,
2625
typescriptPath: require.resolve('typescript'),

test/unit/typescript/type-script-worker-config.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ describe('typescript/type-scripts-worker-config', () => {
99
const context = '/webpack/context';
1010

1111
const configuration: TypeScriptWorkerConfig = {
12-
enabled: true,
1312
memoryLimit: 2048,
1413
configFile: path.normalize(path.resolve(context, 'tsconfig.json')),
1514
configOverwrite: {},
@@ -40,9 +39,6 @@ describe('typescript/type-scripts-worker-config', () => {
4039
it.each([
4140
[undefined, configuration],
4241
[{}, configuration],
43-
[true, configuration],
44-
[false, { ...configuration, enabled: false }],
45-
[{ enabled: false }, { ...configuration, enabled: false }],
4642
[{ memoryLimit: 512 }, { ...configuration, memoryLimit: 512 }],
4743
[
4844
{ configFile: 'tsconfig.another.json' },

0 commit comments

Comments
 (0)