mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibJS: Only check for duplicate exports if they have a name
Together with removing an incorrect VERIFY this allows multiple star imports in a single module.
This commit is contained in:
parent
3b56043612
commit
462c6df24b
4 changed files with 9 additions and 3 deletions
|
@ -186,6 +186,10 @@ describe("in- and exports", () => {
|
|||
test("namespace has expected ordering", () => {
|
||||
expectModulePassed("./namespace-order.mjs");
|
||||
});
|
||||
|
||||
test("can have multiple star imports even from the same file", () => {
|
||||
expectModulePassed("./multiple-star-imports.mjs");
|
||||
});
|
||||
});
|
||||
|
||||
describe("loops", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue