blob: 312d2f34b0840f0326f8e9344ca59b0799875fbc (
plain)
1
2
3
4
5
6
7
8
|
let a = registerModule('a', parseModule(`
export var { ... get } = { x: "foo" };
`));
let m = parseModule("import { get } from 'a'; export { get };");
m.declarationInstantiation();
m.evaluation()
assertEq(getModuleEnvironmentValue(m, "get").x, "foo");
|