Commit 0a83a98
Fix test_environment assertion to handle ESM dynamic imports
In ESM mode (WASM_ESM_INTEGRATION), the runtime uses dynamic import()
instead of require() for node modules. Update the test_environment
assertion to check for 'import(' when in ESM mode, rather than always
expecting 'require('.1 parent f673388 commit 0a83a98
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8662 | 8662 | | |
8663 | 8663 | | |
8664 | 8664 | | |
8665 | | - | |
| 8665 | + | |
| 8666 | + | |
| 8667 | + | |
| 8668 | + | |
| 8669 | + | |
| 8670 | + | |
8666 | 8671 | | |
8667 | 8672 | | |
8668 | 8673 | | |
| |||
0 commit comments