Skip to content

Commit fbf54a7

Browse files
Update test/es-module/test-typescript.mjs
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 8064542 commit fbf54a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/es-module/test-typescript.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,10 @@ test('execute a JavaScript file importing a cjs TypeScript file', async () => {
326326
});
327327

328328
test('execute a TypeScript loader', async () => {
329-
const loader = fixtures.fileURL('typescript/ts/test-loader.ts');
330329
const result = await spawnPromisified(process.execPath, [
331330
'--experimental-strip-types',
332331
'--import',
333-
loader,
332+
fixtures.fileURL('typescript/ts/test-loader.ts'),
334333
'--no-warnings',
335334
fixtures.path('typescript/ts/test-typescript.ts'),
336335
]);

0 commit comments

Comments
 (0)