mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00

PR-URL: https://github.com/nodejs/node/pull/33086 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
9 lines
269 B
JavaScript
9 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);
|