@@ -4,7 +4,6 @@ const { match, doesNotMatch, strictEqual } = require("node:assert");
44
55test ( "should work as a loader" , async ( ) => {
66 const result = await spawnPromisified ( process . execPath , [
7- "--experimental-strip-types" ,
87 "--no-warnings" ,
98 "--import=./dist/register-strip.mjs" ,
109 fixturesPath ( "hello.ts" ) ,
@@ -17,7 +16,6 @@ test("should work as a loader", async () => {
1716
1817test ( "should not work with enums" , async ( t ) => {
1918 const result = await spawnPromisified ( process . execPath , [
20- "--experimental-strip-types" ,
2119 "--no-warnings" ,
2220 "--import=./dist/register-strip.mjs" ,
2321 fixturesPath ( "enum.ts" ) ,
@@ -31,7 +29,6 @@ test("should not work with enums", async (t) => {
3129
3230test ( "should work with enums" , async ( ) => {
3331 const result = await spawnPromisified ( process . execPath , [
34- "--experimental-strip-types" ,
3532 "--no-warnings" ,
3633 "--import=./dist/register-transform.mjs" ,
3734 fixturesPath ( "enum.ts" ) ,
@@ -44,7 +41,6 @@ test("should work with enums", async () => {
4441
4542test ( "should warn and inaccurate stracktrace" , async ( ) => {
4643 const result = await spawnPromisified ( process . execPath , [
47- "--experimental-strip-types" ,
4844 "--import=./dist/register-transform.mjs" ,
4945 fixturesPath ( "stacktrace.ts" ) ,
5046 ] ) ;
@@ -57,7 +53,6 @@ test("should warn and inaccurate stracktrace", async () => {
5753
5854test ( "should not warn and accurate stracktrace" , async ( ) => {
5955 const result = await spawnPromisified ( process . execPath , [
60- "--experimental-strip-types" ,
6156 "--enable-source-maps" ,
6257 "--import=./dist/register-transform.mjs" ,
6358 fixturesPath ( "stacktrace.ts" ) ,
@@ -71,7 +66,6 @@ test("should not warn and accurate stracktrace", async () => {
7166
7267test ( "should call nextLoader for non-typescript files for striping" , async ( ) => {
7368 const result = await spawnPromisified ( process . execPath , [
74- "--experimental-strip-types" ,
7569 "--no-warnings" ,
7670 "--import=./dist/register-strip.mjs" ,
7771 fixturesPath ( "hello.js" ) ,
@@ -84,7 +78,6 @@ test("should call nextLoader for non-typescript files for striping", async () =>
8478
8579test ( "should call nextLoader for non-typescript files for transform" , async ( ) => {
8680 const result = await spawnPromisified ( process . execPath , [
87- "--experimental-strip-types" ,
8881 "--no-warnings" ,
8982 "--import=./dist/register-transform.mjs" ,
9083 fixturesPath ( "hello.js" ) ,
@@ -97,7 +90,6 @@ test("should call nextLoader for non-typescript files for transform", async () =
9790
9891test ( "should throw syntax error for invalid typescript" , async ( t ) => {
9992 const result = await spawnPromisified ( process . execPath , [
100- "--experimental-strip-types" ,
10193 "--no-warnings" ,
10294 "--import=./dist/register-strip.mjs" ,
10395 fixturesPath ( "invalid-syntax.ts" ) ,
0 commit comments