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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]>
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‎

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*asfixturesfrom'../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
constresult=awaitspawnPromisified(process.execPath,[
278275
'--test',
279276
'--experimental-test-module-mocks',

0 commit comments

Comments
(0)