GeezerVison is showing github.com — test: enable ts test on win arm64 · nodejs/node@accbdad
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/es-module/test-typescript.mjs +2-5Lines changed: 2 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -import { skip, spawnPromisified, isWindows } from '../common/index.mjs'; |
| 1 | +import { skip, spawnPromisified } from '../common/index.mjs'; |
2 | 2 | import * as fixtures from '../common/fixtures.mjs'; |
3 | 3 | import { match, strictEqual } from 'node:assert'; |
4 | 4 | import { test } from 'node:test'; |
@@ -270,10 +270,7 @@ test('execute a JavaScript file importing a cjs TypeScript file', async () => { |
270 | 270 | strictEqual(result.code, 0); |
271 | 271 | }); |
272 | 272 |
|
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 () => { |
277 | 274 | const result = await spawnPromisified(process.execPath, [ |
278 | 275 | '--test', |
279 | 276 | '--experimental-test-module-mocks', |
|