Skip to content

Commit 7b90965

Browse files
committed
[wasm] Disable nodejs tests
They are still unstable, and fail with: ``` [01:27:29] fail: /datadisks/disk1/work/A3DA08F7/w/B1B30976/e/test-main.js:97 [01:27:29] fail: if (typeof globalThis.crypto === 'undefined') { [01:27:29] fail: ^ [01:27:29] fail: [01:27:29] fail: ReferenceError: globalThis is not defined [01:27:29] fail: at Object.<anonymous> (/datadisks/disk1/work/A3DA08F7/w/B1B30976/e/test-main.js:97:1) [01:27:29] fail: at Module._compile (internal/modules/cjs/loader.js:778:30) [01:27:29] fail: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) [01:27:29] fail: at Module.load (internal/modules/cjs/loader.js:653:32) [01:27:29] fail: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) [01:27:29] fail: at Function.Module._load (internal/modules/cjs/loader.js:585:3) [01:27:29] fail: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) [01:27:29] fail: at startup (internal/bootstrap/node.js:283:19) [01:27:29] fail: at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) ``` Issue: #65485
1 parent 3b90be5 commit 7b90965

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/pipelines/runtime-extra-platforms-wasm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
scenarios:
5050
- normal
5151
- WasmTestOnBrowser
52-
- WasmTestOnNodeJs
52+
#- WasmTestOnNodeJs
5353

5454
#
5555
# Build for Browser/wasm, with EnableAggressiveTrimming=true

src/tests/BuildWasmApps/Wasm.Build.Tests/RunHost.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public enum RunHost
1313
Chrome = 2,
1414
Safari = 4,
1515
Firefox = 8,
16-
NodeJS = 16,
16+
// NodeJS = 16,
1717

1818
All = V8 | NodeJS | Chrome//| Firefox//Safari
1919
}

0 commit comments

Comments
 (0)