node/test/es-module/test-require-module-detect-entry-point-aou.js
Geoffrey Booth 9916458b44
module: unflag detect-module
PR-URL: https://github.com/nodejs/node/pull/53619
Backport-PR-URL: https://github.com/nodejs/node/pull/56927
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Refs: https://github.com/nodejs/node/issues/52697
2025-02-11 11:56:12 +01:00

7 lines
181 B
JavaScript

// Flags: --experimental-require-module --abort-on-uncaught-exception
import { mustCall } from '../common/index.mjs';
const fn = mustCall(() => {
console.log('hello');
});
fn();