13 lines
351 B
JavaScript
13 lines
351 B
JavaScript
|
// Copyright 2021 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
|
||
|
|
||
|
import "modules-skip-async-cycle-start.mjs"
|
||
|
|
||
|
assertEquals(globalThis.test_order, [
|
||
|
'2', 'async before', 'async after', '1',
|
||
|
'3', 'start',
|
||
|
]);
|