Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / language / module-code / export-expname-from-string-string.js
blob49db039eff6174e876381574cc4a782f0b8aad1b
1 // |reftest| module
2 // Copyright (C) 2020 Bradley Farias. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 description: >
6   ExportFromClause : NamedExports
7   esid: prod-ExportFromClause
8 info: |
9   ExportFromClause :
10     NamedExports[+From]
12   NamedExports[From] :
13     [+From] ModuleExportName as ModuleExportName
15 flags: [module]
16 features: [arbitrary-module-namespace-names]
17 ---*/
18 import * as Scouts from "./export-expname-from-string-string.js";
19 export { "☿" as "Ami" } from "./export-expname_FIXTURE.js";
21 assert.sameValue(Scouts["☿"], undefined);
22 assert.sameValue(Scouts.Ami, globalThis.Mercury);
24 reportCompare(0, 0);