Skip to content

Commit

Permalink
[wasm] Disable nodejs tests
Browse files Browse the repository at this point in the history
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: dotnet#65485
  • Loading branch information
radical committed Feb 17, 2022
1 parent 3b90be5 commit 7b90965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/runtime-extra-platforms-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
scenarios:
- normal
- WasmTestOnBrowser
- WasmTestOnNodeJs
#- WasmTestOnNodeJs

#
# Build for Browser/wasm, with EnableAggressiveTrimming=true
Expand Down
2 changes: 1 addition & 1 deletion src/tests/BuildWasmApps/Wasm.Build.Tests/RunHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public enum RunHost
Chrome = 2,
Safari = 4,
Firefox = 8,
NodeJS = 16,
// NodeJS = 16,

All = V8 | NodeJS | Chrome//| Firefox//Safari
}
Expand Down

0 comments on commit 7b90965

Please sign in to comment.