mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
2496db8e09
PR-URL: https://github.com/nodejs/node/pull/33086 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
10 lines
269 B
JavaScript
10 lines
269 B
JavaScript
import { mustNotCall } from '../common/index.mjs';
|
|
import assert from 'assert';
|
|
import { importFixture } from '../fixtures/pkgexports.mjs';
|
|
|
|
(async () => {
|
|
const m = await importFixture('type-main');
|
|
assert.strictEqual(m.default, 'asdf');
|
|
})()
|
|
.catch(mustNotCall);
|