mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 16:01:52 +00:00

PR-URL: https://github.com/nodejs/node/pull/28918 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
19 lines
554 B
JavaScript
19 lines
554 B
JavaScript
// Copyright 2016 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.
|
|
|
|
assertEquals(
|
|
["b", "c", "get_a", "ns2", "set_a", "zzz", Symbol.toStringTag],
|
|
Reflect.ownKeys(ns));
|
|
|
|
import * as foo from "modules-skip-1.mjs";
|
|
assertSame(foo.a, ns.b);
|
|
assertSame(foo.a, ns.c);
|
|
assertSame(foo.get_a, ns.get_a);
|
|
assertSame(foo.set_a, ns.set_a);
|
|
assertEquals(123, ns.zzz);
|
|
|
|
assertSame(ns, ns.ns2.ns);
|
|
import * as ns from "modules-skip-namespace.mjs";
|
|
export {ns};
|