mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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);
|