modules-import-rqstd-order-top-level-await-2.mjs 585 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// 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';