@@ -17,7 +17,6 @@ test('execute a TypeScript file', async () => {
1717test ( 'execute a TypeScript file with imports' , async ( ) => {
1818 const result = await spawnPromisified ( process . execPath , [
1919 '--experimental-strip-types' ,
20- '--experimental-default-type=module' ,
2120 '--no-warnings' ,
2221 fixtures . path ( 'typescript/ts/test-import-foo.ts' ) ,
2322 ] ) ;
@@ -30,7 +29,6 @@ test('execute a TypeScript file with imports', async () => {
3029test ( 'execute a TypeScript file with node_modules' , async ( ) => {
3130 const result = await spawnPromisified ( process . execPath , [
3231 '--experimental-strip-types' ,
33- '--experimental-default-type=module' ,
3432 '--no-warnings' ,
3533 fixtures . path ( 'typescript/ts/test-typescript-node-modules.ts' ) ,
3634 ] ) ;
@@ -43,7 +41,6 @@ test('execute a TypeScript file with node_modules', async () => {
4341test ( 'expect error when executing a TypeScript file with imports with no extensions' , async ( ) => {
4442 const result = await spawnPromisified ( process . execPath , [
4543 '--experimental-strip-types' ,
46- '--experimental-default-type=module' ,
4744 fixtures . path ( 'typescript/ts/test-import-no-extension.ts' ) ,
4845 ] ) ;
4946
@@ -101,7 +98,6 @@ test('execute a TypeScript file with type definition', async () => {
10198test ( 'execute a TypeScript file with type definition but no type keyword' , async ( ) => {
10299 const result = await spawnPromisified ( process . execPath , [
103100 '--experimental-strip-types' ,
104- '--experimental-default-type=module' ,
105101 fixtures . path ( 'typescript/ts/test-import-no-type-keyword.ts' ) ,
106102 ] ) ;
107103
@@ -124,7 +120,6 @@ test('execute a TypeScript file with CommonJS syntax', async () => {
124120test ( 'execute a TypeScript file with ES module syntax' , async ( ) => {
125121 const result = await spawnPromisified ( process . execPath , [
126122 '--experimental-strip-types' ,
127- '--experimental-default-type=module' ,
128123 '--no-warnings' ,
129124 fixtures . path ( 'typescript/ts/test-module-typescript.ts' ) ,
130125 ] ) ;
@@ -159,7 +154,6 @@ test('expect stack trace of a TypeScript file to be correct', async () => {
159154
160155test ( 'execute CommonJS TypeScript file from node_modules with require-module' , async ( ) => {
161156 const result = await spawnPromisified ( process . execPath , [
162- '--experimental-default-type=module' ,
163157 '--experimental-strip-types' ,
164158 fixtures . path ( 'typescript/ts/test-import-ts-node-modules.ts' ) ,
165159 ] ) ;
@@ -218,7 +212,6 @@ test('execute a TypeScript file with CommonJS syntax requiring .mts with require
218212test ( 'execute a TypeScript file with CommonJS syntax requiring .mts with require-module' , async ( ) => {
219213 const result = await spawnPromisified ( process . execPath , [
220214 '--experimental-strip-types' ,
221- '--experimental-default-type=commonjs' ,
222215 '--no-warnings' ,
223216 fixtures . path ( 'typescript/ts/test-require-cts.ts' ) ,
224217 ] ) ;
0 commit comments