mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
9 lines
284 B
JavaScript
9 lines
284 B
JavaScript
|
// Flags: --experimental-require-module
|
||
|
'use strict';
|
||
|
|
||
|
// This tests that ESM <-> ESM cycle is allowed in a require()-d graph.
|
||
|
const common = require('../common');
|
||
|
const cycle = require('../fixtures/es-modules/cjs-esm-esm-cycle/c.cjs');
|
||
|
|
||
|
common.expectRequiredModule(cycle, { b: 5 });
|