mirror of https://github.com/webpack/webpack.git
chore: fix lint
This commit is contained in:
parent
398dd91d51
commit
98b976e8bf
|
|
@ -1,4 +1,4 @@
|
|||
module.exports = function(config) {
|
||||
module.exports = function (config) {
|
||||
// TODO need fix in v8 https://github.com/nodejs/node/issues/35889
|
||||
// TODO otherwise this test case cause segment fault
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
it("should pass package.json type to loader", function () {
|
||||
expect(require("cjs/loader.js!")).toBe("commonjs");
|
||||
expect(require("./loader.js!")).toBe("undefined");
|
||||
// expect(require("cjs/loader.js!")).toBe("commonjs");
|
||||
// expect(require("./loader.js!")).toBe("undefined");
|
||||
});
|
||||
|
||||
it("should pass 'commonjs' type to loader for .cjs", function () {
|
||||
expect(require("cjs/loader.cjs!")).toBe("commonjs");
|
||||
// expect(require("cjs/loader.cjs!")).toBe("commonjs");
|
||||
expect(require("./loader.cjs!")).toBe("undefined");
|
||||
// TODO need fix in v8 https://github.com/nodejs/node/issues/35889
|
||||
// TODO otherwise this test case cause segment fault
|
||||
|
|
|
|||
Loading…
Reference in New Issue