repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then/required.js | test/cases/chunks/statical-dynamic-import-then/required.js | exports.value = 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then/test.filter.js | test/cases/chunks/statical-dynamic-import-then/test.filter.js | "use strict";
module.exports = function filter(config) {
// This test can't run in development mode
return config.mode !== "development";
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then/warnings.js | test/cases/chunks/statical-dynamic-import-then/warnings.js | "use strict";
module.exports = [
/You don't need `webpackExports` if the usage of dynamic import is statically analyse-able/
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then/index.js | test/cases/chunks/statical-dynamic-import-then/index.js | it("should load only used exports", async () => {
await import("../statical-dynamic-import/dir1/a").then(m => {
expect(m.default).toBe(3);
expect(m.usedExports).toEqual(["default", "usedExports"]);
})
});
it("should get warning on using 'webpackExports' with statically analyze-able dynamic import", async () => {... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then/dir1/a.js | test/cases/chunks/statical-dynamic-import-then/dir1/a.js | export const a = 1;
export default 3;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies-context/index.js | test/cases/chunks/weak-dependencies-context/index.js | it("should not include a module with a weak dependency using context", function() {
var fileA = "a";
var fileB = "b";
var fileC = "c";
var resolveWeakA = require.resolveWeak("./" + fileA);
var resolveWeakB = require.resolveWeak("./" + fileB);
var resolveWeakC = require.resolveWeak("./" + fileC);
var a = !!__we... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies-context/b.js | test/cases/chunks/weak-dependencies-context/b.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies-context/c.js | test/cases/chunks/weak-dependencies-context/c.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies-context/a.js | test/cases/chunks/weak-dependencies-context/a.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/parsing/index.js | test/cases/chunks/parsing/index.js | it("should handle bound function expressions", function(done) {
require.ensure(
[],
function(require) {
expect(this).toEqual({ test: true });
require("./empty?test");
expect(process.nextTick).toBeTypeOf("function"); // check if injection still works
require.ensure(
[],
function(require) {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/parsing/empty.js | test/cases/chunks/parsing/empty.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/parsing/require.include.js | test/cases/chunks/parsing/require.include.js | module.exports = "require.include"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-destructuring/test.filter.js | test/cases/chunks/statical-dynamic-import-destructuring/test.filter.js | "use strict";
module.exports = function filter(config) {
// This test can't run in development mode
return config.mode !== "development";
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-destructuring/warnings.js | test/cases/chunks/statical-dynamic-import-destructuring/warnings.js | "use strict";
module.exports = [
/You don't need `webpackExports` if the usage of dynamic import is statically analyse-able/
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-destructuring/index.js | test/cases/chunks/statical-dynamic-import-destructuring/index.js | it("should load only used exports", async (done) => {
const { default: def, usedExports } = await import("../statical-dynamic-import/dir1/a");
expect(def).toBe(3);
expect(usedExports).toEqual(["default", "usedExports"]);
done();
});
it("should get warning on using 'webpackExports' with destructuring assignment", a... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-destructuring/lib/index.js | test/cases/chunks/statical-dynamic-import-destructuring/lib/index.js | export * as a from "./a";
export * as b from "./b";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-destructuring/lib/b.js | test/cases/chunks/statical-dynamic-import-destructuring/lib/b.js | export const aaa = 1;
export const bbb = 2;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-destructuring/lib/a.js | test/cases/chunks/statical-dynamic-import-destructuring/lib/a.js | export const aaa = 1;
export const bbb = 2;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/var-inject-error-handler/index.js | test/cases/chunks/var-inject-error-handler/index.js | it("should handle var injection in require.ensure with error callback", function(done) {
require.ensure([], function(require) {
require("./empty");
var x = module.x;
done();
}, function(error) {}, "chunk-with-var-inject");
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/var-inject-error-handler/empty.js | test/cases/chunks/var-inject-error-handler/empty.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-circle/rightHelix.js | test/cases/chunks/import-circle/rightHelix.js | import rightHelixPrime, { run } from "./rightHelixPrime";
export default {
rightHelixPrime,
run
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-circle/index.js | test/cases/chunks/import-circle/index.js | import leftHelix from "./leftHelix";
import rightHelix from "./rightHelix";
it("should import generate ensure function for this", () => {
return Promise.all([leftHelix.run(), rightHelix.run()]);
});
export default {
leftHelix,
rightHelix
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-circle/rightHelixPrime.js | test/cases/chunks/import-circle/rightHelixPrime.js | import leftHelixPrime from "./leftHelixPrime";
export function run() {
return import(/* webpackChunkName: "right" */ "./rightHelix");
}
export default {
leftHelixPrime: () => leftHelixPrime
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-circle/leftHelixPrime.js | test/cases/chunks/import-circle/leftHelixPrime.js | import rightHelixPrime from "./rightHelixPrime";
export function run() {
return import(/* webpackChunkName: "left" */ "./leftHelix");
}
export default {
rightHelixPrime: () => rightHelixPrime
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-circle/leftHelix.js | test/cases/chunks/import-circle/leftHelix.js | import leftHelixPrime, { run } from "./leftHelixPrime";
export default {
leftHelixPrime,
run
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/nested-in-empty/index.js | test/cases/chunks/nested-in-empty/index.js | it("should include a chunk nested in an empty chunk", (done) => {
require.ensure(["./a"], () => {
require.ensure([], () => {
require.ensure(["./a"], () => {
require.ensure([], () => {
const b = require("./b");
expect(b).toBe(42);
done();
});
});
});
});
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/nested-in-empty/b.js | test/cases/chunks/nested-in-empty/b.js | module.exports = 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/nested-in-empty/a.js | test/cases/chunks/nested-in-empty/a.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/acircular.js | test/cases/chunks/runtime/acircular.js | require.ensure(["./acircular2"], function(require) {
require("./acircular2");
}) | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/duplicate.js | test/cases/chunks/runtime/duplicate.js | require.ensure(["./a"], function(require) {
expect(require("./a")).toBe("a");
})
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/test.filter.js | test/cases/chunks/runtime/test.filter.js | "use strict";
module.exports = (config) =>
// This test can't run in development mode as it depends on the flagIncludedChunks optimization
config.mode !== "development";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/duplicate2.js | test/cases/chunks/runtime/duplicate2.js | require.ensure(["./b"], function(require) {
expect(require("./b")).toBe("a");
})
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/index.js | test/cases/chunks/runtime/index.js | /* globals it */
it("should handle duplicate chunks", function(done) {
var firstOne = false, secondOne = false;
require.ensure([], function(require) {
require("./acircular");
require("./duplicate");
require("./duplicate2");
firstOne = true;
if(secondOne) done();
});
require.ensure([], function(require) {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/b.js | test/cases/chunks/runtime/b.js | module.exports = require("./a"); | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/empty.js | test/cases/chunks/runtime/empty.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/webpack.config.js | test/cases/chunks/runtime/webpack.config.js | "use strict";
module.exports = {
optimization: {
moduleIds: "named"
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/acircular2.js | test/cases/chunks/runtime/acircular2.js | require.ensure(["./acircular"], function(require) {
require("./acircular");
}) | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/runtime/a.js | test/cases/chunks/runtime/a.js | module.exports = "a"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/context-weak/two.js | test/cases/chunks/context-weak/two.js | module.exports = 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/context-weak/index.js | test/cases/chunks/context-weak/index.js | it("should not bundle context requires with asyncMode === 'weak'", function() {
var contextRequire = require.context(".", false, /two/, "weak");
expect(function() {
contextRequire("./two")
}).toThrow(/not available/);
});
it("should not bundle context requires with asyncMode === 'weak' using import.meta.webpackCo... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/context-weak/three.js | test/cases/chunks/context-weak/three.js | module.exports = 3;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/context-weak/dir/four.js | test/cases/chunks/context-weak/dir/four.js | module.exports = 4;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/named-chunks/empty4.js | test/cases/chunks/named-chunks/empty4.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/named-chunks/empty3.js | test/cases/chunks/named-chunks/empty3.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/named-chunks/index.js | test/cases/chunks/named-chunks/index.js | it("should handle named chunks", function(done) {
var sync = false;
require.ensure([], function(require) {
require("./empty?a");
require("./empty?b");
testLoad();
sync = true;
process.nextTick(function() {
sync = false;
});
}, "named-chunk");
function testLoad() {
require.ensure([], function(requir... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/named-chunks/empty2.js | test/cases/chunks/named-chunks/empty2.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/named-chunks/empty.js | test/cases/chunks/named-chunks/empty.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context-exist-chunk/index.js | test/cases/chunks/import-context-exist-chunk/index.js | it("should resolve when import existed chunk (#8626)", function(done) {
require.context("./dir-initial/");
const fileName = "initialModule";
import(`./dir-initial/${fileName}`).then(({default:m}) => {
expect(m).toBe("initialModuleDefault");
done();
}).catch(done);
});
it("should resolve when import existed chu... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context-exist-chunk/dir-initial/initialModule.js | test/cases/chunks/import-context-exist-chunk/dir-initial/initialModule.js | export default "initialModuleDefault";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context-exist-chunk/dir-initial-with-fake-map/initialModule2.js | test/cases/chunks/import-context-exist-chunk/dir-initial-with-fake-map/initialModule2.js | exports.default = "other";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context-exist-chunk/dir-initial-with-fake-map/initialModule.js | test/cases/chunks/import-context-exist-chunk/dir-initial-with-fake-map/initialModule.js | export default "initialModuleDefault";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/issue-5153/index.js | test/cases/chunks/issue-5153/index.js | import x from "./module";
it("should export the same binding", () => {
return import("./module").then(ns => {
expect(x).toBe(ns.default);
});
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/issue-5153/module.js | test/cases/chunks/issue-5153/module.js | export default {};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/test.filter.js | test/cases/chunks/statical-dynamic-import/test.filter.js | "use strict";
module.exports = function filter(config) {
// This test can't run in development mode
return config.mode !== "development";
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/warnings.js | test/cases/chunks/statical-dynamic-import/warnings.js | "use strict";
module.exports = [
/You don't need `webpackExports` if the usage of dynamic import is statically analyse-able/
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/index.js | test/cases/chunks/statical-dynamic-import/index.js | it("should load only used exports", async (done) => {
const m = await import("./dir1/a");
expect(m.default).toBe(3);
expect(m.usedExports).toEqual(["default", "usedExports"]);
done();
});
it("should get warning on using 'webpackExports' with statically analyze-able dynamic import", async (done) => {
const m = awa... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/dir3/a.js | test/cases/chunks/statical-dynamic-import/dir3/a.js | exports.a = 1;
exports.b = 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/dir4/a.js | test/cases/chunks/statical-dynamic-import/dir4/a.js | export const a = 1;
export function f() {
return this.a;
}
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/dir4/lib/index.js | test/cases/chunks/statical-dynamic-import/dir4/lib/index.js | export * as a from "./a";
export * as b from "./b";
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/dir4/lib/b.js | test/cases/chunks/statical-dynamic-import/dir4/lib/b.js | export function f() {
return 1;
}
export const b = 2;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/dir4/lib/a.js | test/cases/chunks/statical-dynamic-import/dir4/lib/a.js | export const a = 1;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/dir2/a.js | test/cases/chunks/statical-dynamic-import/dir2/a.js | exports.a = 1;
exports.b = 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import/dir1/a.js | test/cases/chunks/statical-dynamic-import/dir1/a.js | export const a = 1;
export default 3;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then-destructuring/required.js | test/cases/chunks/statical-dynamic-import-then-destructuring/required.js | exports.value = 42;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then-destructuring/test.filter.js | test/cases/chunks/statical-dynamic-import-then-destructuring/test.filter.js | "use strict";
module.exports = function filter(config) {
// This test can't run in development mode
return config.mode !== "development";
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then-destructuring/warnings.js | test/cases/chunks/statical-dynamic-import-then-destructuring/warnings.js | "use strict";
module.exports = [
/You don't need `webpackExports` if the usage of dynamic import is statically analyse-able/
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then-destructuring/index.js | test/cases/chunks/statical-dynamic-import-then-destructuring/index.js | it("should load only used exports", async () => {
await import("../statical-dynamic-import/dir1/a").then(({ default: defaultValue, usedExports }) => {
expect(defaultValue).toBe(3);
expect(usedExports).toEqual(["default", "usedExports"]);
})
});
it("should get warning on using 'webpackExports' with statically ana... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/statical-dynamic-import-then-destructuring/dir1/a.js | test/cases/chunks/statical-dynamic-import-then-destructuring/dir1/a.js | export const a = 1;
export default 3;
export const usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context/index.js | test/cases/chunks/import-context/index.js | function testCase(load, done) {
load("two", 2, function() {
var sync = true;
load("one", 1, function() {
expect(sync).toBe(false);
load("three", 3, function() {
var sync = true;
load("two", 2, function() {
expect(sync).toBe(true);
done();
});
Promise.resolve().then(function() {}).th... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context/dir2/two.js | test/cases/chunks/import-context/dir2/two.js | module.exports = 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context/dir2/one.js | test/cases/chunks/import-context/dir2/one.js | module.exports = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context/dir2/three.js | test/cases/chunks/import-context/dir2/three.js | module.exports = 3;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context/dir/two.js | test/cases/chunks/import-context/dir/two.js | module.exports = 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context/dir/one.js | test/cases/chunks/import-context/dir/one.js | module.exports = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import-context/dir/three.js | test/cases/chunks/import-context/dir/three.js | module.exports = 3;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weird-reference-to-entry/index.js | test/cases/chunks/weird-reference-to-entry/index.js | it("should handle reference to entry chunk correctly", function(done) {
import(/* webpackChunkName: "main" */"./module-a").then(function(result) {
expect(result.default).toBe("ok");
done();
}).catch(function(e) {
done(e);
});
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weird-reference-to-entry/module-a.js | test/cases/chunks/weird-reference-to-entry/module-a.js | export default "ok";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weird-reference-to-entry/errors.js | test/cases/chunks/weird-reference-to-entry/errors.js | "use strict";
module.exports = [
[
/It's not allowed to load an initial chunk on demand\. The chunk name "main" is already used by an entrypoint\./
]
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies/index.js | test/cases/chunks/weak-dependencies/index.js | it("should not include a module with a weak dependency", function() {
var a = !!__webpack_modules__[require.resolveWeak("./a")];
var b = !!__webpack_modules__[require.resolve("./b")];
var c = !!__webpack_modules__[require.resolveWeak("./c")];
var d = !!__webpack_modules__[require.resolveWeak("./d")];
require(["./c... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies/b.js | test/cases/chunks/weak-dependencies/b.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies/d.js | test/cases/chunks/weak-dependencies/d.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies/c.js | test/cases/chunks/weak-dependencies/c.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/weak-dependencies/a.js | test/cases/chunks/weak-dependencies/a.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import/two.js | test/cases/chunks/import/two.js | module.exports = 2; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/import/index.js | test/cases/chunks/import/index.js | it("should be able to use import", function(done) {
import("./two").then(function(two) {
expect(two).toEqual(nsObj({
default: 2
}));
done();
}).catch(function(err) {
done(err);
});
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/issue-2443/index.js | test/cases/chunks/issue-2443/index.js | it("should be able to use expressions in import (directory)", function(done) {
function load(name, expected, callback) {
import("./dir/" + name + "/file.js")
.then(function(result) {
expect(result).toEqual(
nsObj({
default: expected
})
);
callback();
})
.catch(function(err) {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/issue-2443/dir/three/file.js | test/cases/chunks/issue-2443/dir/three/file.js | module.exports = 3;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/issue-2443/dir/two/file.js | test/cases/chunks/issue-2443/dir/two/file.js | module.exports = 2;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/issue-2443/dir/one/file.js | test/cases/chunks/issue-2443/dir/one/file.js | module.exports = 1;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/context/two.js | test/cases/chunks/context/two.js | module.exports = 2; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/chunks/context/index.js | test/cases/chunks/context/index.js | it("should also work in a chunk", function(done) {
require.ensure([], function(require) {
var contextRequire = require.context(".", false, /two/);
expect(contextRequire("./two")).toBe(2);
var tw = "tw";
expect(require("." + "/" + tw + "o")).toBe(2);
done();
});
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/import-with-type-json/index.js | test/cases/json/import-with-type-json/index.js | import c from "../data/c.json" with { type: "json" };
import unknownJson from "../data/unknown" with { type: "json" };
import unknownJs from "../data/unknown";
it("should be possible to import json data with import assertion", function () {
expect(c).toEqual([1, 2, 3, 4]);
});
it("should be possible to import json d... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/import-with-type-json/infrastructure-log.js | test/cases/json/import-with-type-json/infrastructure-log.js | "use strict";
module.exports = [
/^Pack got invalid because of write to: Compilation\/modules|json.+json\/data\/poison$/
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/import-with-type-json/import-poison.js | test/cases/json/import-with-type-json/import-poison.js | import poison from "../data/poison" with { type: "json" };
export default poison;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/import-with-type-json/errors.js | test/cases/json/import-with-type-json/errors.js | "use strict";
module.exports = [
[{ moduleName: /data.poison/, message: /Unexpected token .+ JSON/ }]
];
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/import-lazy/index.js | test/cases/json/import-lazy/index.js |
it("should be possible to import json data async", function() {
return Promise.all([
import("../data/a.json"),
import("../data/b.json"),
import("../data/c.json"),
import("../data/d.json"),
import("../data/e.json"),
import("../data/f.json"),
import("../data/g.json")
]).then(([a, b, c, d, e, f, g]) => {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/default-default-with-concatenation/index.js | test/cases/json/default-default-with-concatenation/index.js | import "../default-default";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/prototype-methods/index.js | test/cases/json/prototype-methods/index.js | import data1 from "./array.json?1";
import data2 from "./array.json?2";
it("should allow to call prototype methods", () => {
expect(data1.map(d => d * 2)).toEqual([2, 2, 4, 6, 10]);
expect(data2.map(d => d * 2)).toEqual([2, 2, 4, 6, 10]);
expect(require("./array.json?2").map(d => d * 2)).toEqual([2, 2, 4, 6, 10]);
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/weird-properties/index.js | test/cases/json/weird-properties/index.js | import globals from "./globals.json?all";
import someGlobals from "./globals.json";
it("should be able to read all properties", () => {
const walk = o => {
for (const p of Object.keys(o)) {
const child = o[p];
if (typeof child === "object") {
walk(child);
} else {
expect(child).toBeTypeOf("boolean"... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/json/import-with-default/index.js | test/cases/json/import-with-default/index.js | import a from "../data/a.json";
import b from "../data/b.json";
import c from "../data/c.json";
import d from "../data/d.json";
import e from "../data/e.json";
import f from "../data/f.json";
it("should be possible to import json data", function() {
expect({a}).toEqual({a: null});
expect(b).toBe(123);
expect(c).toE... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.