Skip to content

Commit accbdad

Browse files
marco-ippolitoaduh95
authored andcommitted
test: enable ts test on win arm64
PR-URL: #56349 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent 2a5ac93 commit accbdad

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/es-module/test-typescript.mjs

+2-5
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)