Skip to content

Commit

Permalink
chore: enable more webpack-test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk committed Oct 23, 2023
1 parent d0a9fcb commit fc3a5f7
Show file tree
Hide file tree
Showing 16 changed files with 10 additions and 43 deletions.
2 changes: 1 addition & 1 deletion webpack-test/cases/large/big-assets/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const createHash = require("../../../../lib/util/hash/xxhash64");
const createHash = require("@rspack/core/dist/util/hash/xxhash64");
const fs = require("fs");

const h = url => {
Expand Down
2 changes: 1 addition & 1 deletion webpack-test/cases/large/big-assets/test.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ module.exports = function (config) {
};
*/
module.exports = () => {return false}
module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/3180"}


2 changes: 1 addition & 1 deletion webpack-test/cases/large/many-replacements/test.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ module.exports = function (config) {
};
*/
module.exports = () => {return tr}
module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4396"}


4 changes: 0 additions & 4 deletions webpack-test/cases/loaders/async/test.filter.js

This file was deleted.

2 changes: 1 addition & 1 deletion webpack-test/cases/loaders/coffee-loader/test.filter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

module.exports = () => {return false}
module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4396"}


2 changes: 1 addition & 1 deletion webpack-test/cases/loaders/context/test.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = config => {
};
*/
module.exports = () => {return false}
module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4397"}


4 changes: 0 additions & 4 deletions webpack-test/cases/loaders/css-loader/test.filter.js

This file was deleted.

2 changes: 1 addition & 1 deletion webpack-test/cases/loaders/import-module/test.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ module.exports = config => {
};
*/
module.exports = () => {return false}
module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4398"}


4 changes: 0 additions & 4 deletions webpack-test/cases/loaders/json-loader/test.filter.js

This file was deleted.

4 changes: 0 additions & 4 deletions webpack-test/cases/loaders/less-loader/test.filter.js

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions webpack-test/cases/loaders/pug-loader/test.filter.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@

/*
const supportsRequireInModule = require("../../../helpers/supportsRequireInModule");

module.exports = config => {
return !config.module || supportsRequireInModule();
};
*/
module.exports = () => {return true}


6 changes: 2 additions & 4 deletions webpack-test/cases/loaders/query/test.filter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const { FilteredStatus } = require("../../../lib/util/filterUtil")

// Didn't turn on every cases
module.exports = () => {return true}


module.exports = () => {return [FilteredStatus.PARTIAL_PASS, "https://github.com/web-infra-dev/rspack/issues/3180, https://github.com/web-infra-dev/rspack/issues/4397"]}
4 changes: 0 additions & 4 deletions webpack-test/cases/loaders/raw-loader/test.filter.js

This file was deleted.

2 changes: 1 addition & 1 deletion webpack-test/cases/loaders/resolve/test.filter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

module.exports = () => {return "Rspack does not support resolving a virtual resource with only loader available, see: query test"}
module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/3180"}


2 changes: 1 addition & 1 deletion webpack-test/cases/loaders/utils/test.filter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

module.exports = () => {return "blocked by context support for loader"}
module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4397"}


0 comments on commit fc3a5f7

Please sign in to comment.