v8/test/mjsunit/harmony/modules-import-rqstd-order-top-level-await-2.mjs

16 lines
585 B
JavaScript
Raw Normal View History

// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-top-level-await
assertEquals(globalThis.test262, [
'1_dir_a', '2_dir_a', '3_dir_a', '4_dir_a',
'1', '2', '3', '4',
'1_dir_b', '2_dir_b', '3_dir_b', '4_dir_b']);
import 'modules-skip-1-rqstd-order-top-level-await.mjs';
import 'modules-skip-2-rqstd-order-top-level-await.mjs';
import 'modules-skip-3-rqstd-order-top-level-await.mjs';
import 'modules-skip-4-rqstd-order-top-level-await.mjs';