mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
The synchronous version has been available since 1.4.0. PR-URL: https://github.com/nodejs/node/pull/60663 Refs: https://github.com/nodejs/node/issues/59913 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
7 lines
209 B
JavaScript
7 lines
209 B
JavaScript
// Flags: --jitless
|
|
|
|
// Tests that importing a CJS module works in JIT-less mode (i.e. falling back to the
|
|
// JS parser if WASM is not available).
|
|
import '../common/index.mjs';
|
|
import '../fixtures/empty.cjs';
|