@@ -17,7 +17,6 @@ test('execute a TypeScript file', async () => {
17
17
test ( 'execute a TypeScript file with imports' , async ( ) => {
18
18
const result = await spawnPromisified ( process . execPath , [
19
19
'--experimental-strip-types' ,
20
- '--experimental-default-type=module' ,
21
20
'--no-warnings' ,
22
21
fixtures . path ( 'typescript/ts/test-import-foo.ts' ) ,
23
22
] ) ;
@@ -30,7 +29,6 @@ test('execute a TypeScript file with imports', async () => {
30
29
test ( 'execute a TypeScript file with node_modules' , async ( ) => {
31
30
const result = await spawnPromisified ( process . execPath , [
32
31
'--experimental-strip-types' ,
33
- '--experimental-default-type=module' ,
34
32
'--no-warnings' ,
35
33
fixtures . path ( 'typescript/ts/test-typescript-node-modules.ts' ) ,
36
34
] ) ;
@@ -43,7 +41,6 @@ test('execute a TypeScript file with node_modules', async () => {
43
41
test ( 'expect error when executing a TypeScript file with imports with no extensions' , async ( ) => {
44
42
const result = await spawnPromisified ( process . execPath , [
45
43
'--experimental-strip-types' ,
46
- '--experimental-default-type=module' ,
47
44
fixtures . path ( 'typescript/ts/test-import-no-extension.ts' ) ,
48
45
] ) ;
49
46
@@ -101,7 +98,6 @@ test('execute a TypeScript file with type definition', async () => {
101
98
test ( 'execute a TypeScript file with type definition but no type keyword' , async ( ) => {
102
99
const result = await spawnPromisified ( process . execPath , [
103
100
'--experimental-strip-types' ,
104
- '--experimental-default-type=module' ,
105
101
fixtures . path ( 'typescript/ts/test-import-no-type-keyword.ts' ) ,
106
102
] ) ;
107
103
@@ -124,7 +120,6 @@ test('execute a TypeScript file with CommonJS syntax', async () => {
124
120
test ( 'execute a TypeScript file with ES module syntax' , async ( ) => {
125
121
const result = await spawnPromisified ( process . execPath , [
126
122
'--experimental-strip-types' ,
127
- '--experimental-default-type=module' ,
128
123
'--no-warnings' ,
129
124
fixtures . path ( 'typescript/ts/test-module-typescript.ts' ) ,
130
125
] ) ;
@@ -159,7 +154,6 @@ test('expect stack trace of a TypeScript file to be correct', async () => {
159
154
160
155
test ( 'execute CommonJS TypeScript file from node_modules with require-module' , async ( ) => {
161
156
const result = await spawnPromisified ( process . execPath , [
162
- '--experimental-default-type=module' ,
163
157
'--experimental-strip-types' ,
164
158
fixtures . path ( 'typescript/ts/test-import-ts-node-modules.ts' ) ,
165
159
] ) ;
@@ -218,7 +212,6 @@ test('execute a TypeScript file with CommonJS syntax requiring .mts with require
218
212
test ( 'execute a TypeScript file with CommonJS syntax requiring .mts with require-module' , async ( ) => {
219
213
const result = await spawnPromisified ( process . execPath , [
220
214
'--experimental-strip-types' ,
221
- '--experimental-default-type=commonjs' ,
222
215
'--no-warnings' ,
223
216
fixtures . path ( 'typescript/ts/test-require-cts.ts' ) ,
224
217
] ) ;
0 commit comments