Skip to content

Commit 1636025

Browse files
test: enable ts test on win arm64
1 parent 270a2f1 commit 1636025

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/es-module/test-typescript.mjs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { skip, spawnPromisified, isWindows } from '../common/index.mjs';
1+
import { skip, spawnPromisified } from '../common/index.mjs';
22
import * as fixtures from '../common/fixtures.mjs';
33
import { match, strictEqual } from 'node:assert';
44
import { test } from 'node:test';
@@ -270,10 +270,7 @@ test('execute a JavaScript file importing a cjs TypeScript file', async () => {
270270
strictEqual(result.code, 0);
271271
});
272272

273-
// TODO(marco-ippolito) Due to a bug in SWC, the TypeScript loader
274-
// does not work on Windows arm64. This test should be re-enabled
275-
// when https://github.com/nodejs/node/issues/54645 is fixed
276-
test('execute a TypeScript test mocking module', { skip: isWindows && process.arch === 'arm64' }, async () => {
273+
test('execute a TypeScript test mocking module', async () => {
277274
const result = await spawnPromisified(process.execPath, [
278275
'--test',
279276
'--experimental-test-module-mocks',

0 commit comments

Comments
 (0)