aboutsummaryrefslogtreecommitdiff
path: root/test/js/import_order.t.js
blob: 05de705ba22a66d685de60c7458efc80f8020271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*---
includes: [compareArray.js]
flags: []
paths: [test/js/module/]
---*/

if (!globalThis.stages) {
    globalThis.stages = [];
}

globalThis.stages.push('main1');

import _ from 'order.js';
import __ from 'order2.js';

globalThis.stages.push('main2');

assert.compareArray(globalThis.stages, ["order", "order2", "main1", "main2"]);