mirror of https://github.com/nodejs/node.git
10 lines
326 B
JavaScript
10 lines
326 B
JavaScript
import '../common/index.mjs';
|
|
import fixtures from '../common/fixtures.js';
|
|
import assert from 'assert';
|
|
import { pathToFileURL } from 'url';
|
|
|
|
import(pathToFileURL(fixtures.path('/es-modules/tla/parent.mjs')))
|
|
.then(({ default: order }) => {
|
|
assert.deepStrictEqual(order, ['order', 'b', 'c', 'd', 'a', 'parent']);
|
|
});
|