Compare commits

...

2 Commits

Author SHA1 Message Date
Sebastian "Sebbie" Silbermann d83fac69c7
Merge 006ca7fb06 into f6c3c24da3 2025-09-25 08:33:28 +02:00
eps1lon 006ca7fb06
test: Failing test case for missing exports when using ImportNamespaceSpecifier 2022-01-15 17:14:13 +01:00
6 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import * as Stub from "./stub";
it("should compile", function () {
if (typeof Stub.NotHere !== "undefined") {
throw new Error("This shouldn't be here!");
}
if (typeof Stub.Here === "undefined") {
throw new Error("This should be here!");
}
});

View File

@ -0,0 +1 @@
export const Here = "exists";

View File

@ -0,0 +1,6 @@
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
strictExportPresence: true
}
};

View File

@ -0,0 +1,10 @@
import * as Stub from "./stub";
it("should compile", function () {
if (typeof Stub.NotHere !== "undefined") {
throw new Error("This shouldn't be here!");
}
if (typeof Stub.Here === "undefined") {
throw new Error("This should be here!");
}
});

View File

@ -0,0 +1 @@
export const Here = "exists";