node/deps/v8/test/mjsunit/harmony/modules-skip-async-subgraph-1.mjs
Guy Bedford 8e46568b1e deps: backport v8 f19142e6
[top-level-await] Implement the new post-order requirement for
async subgraphs

Refs: f19142e613
PR-URL: https://github.com/nodejs/node/pull/37864
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2021-03-29 23:33:22 +02:00

13 lines
361 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-subgraph-async.mjs"
if (globalThis.test_order === undefined) {
globalThis.test_order = [];
}
globalThis.test_order.push('1');