Skip to content

Commit

Permalink
chore: align webpack tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JSerFeng committed Oct 16, 2023
1 parent 3cea4a1 commit d97255e
Show file tree
Hide file tree
Showing 26 changed files with 19 additions and 31 deletions.
3 changes: 2 additions & 1 deletion webpack-test/ConfigTestCases.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ const filterInfraStructureErrors = require("./helpers/infrastructureLogErrors");
const { normalizeFilteredTestName } = require('./lib/util/filterUtil')

const casesPath = path.join(__dirname, "configCases");
const categories = fs.readdirSync(casesPath).map(cat => {
const categories = fs.readdirSync(casesPath)
.map(cat => {
return {
name: cat,
tests: fs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
// var supportsWorker = require("../../../helpers/supportsWorker");

// module.exports = function (config) {
// return supportsWorker();
// };

module.exports = () => {return false}
module.exports = () => 'block by treeshaking issue https://github.com/web-infra-dev/rspack/issues/4336'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => 'splitted chunk ids should be the same as webpack'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => 'not support automaticNameDelimiter'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => 'not support function type of splitChunks'

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => 'should emit error if entry point and splitted chunk have the same name'

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => 'should support object type minSize'

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => 'jest node env blocks'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => 'no js splitChunks plugin'

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => "hang by unknown reasons"

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => "hang by unknown reasons"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = () => {return false}
module.exports = () => "hang by unknown reasons"
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module.exports = () => {return false}
const { FilteredStatus } = require("../../../lib/util/filterUtil")

module.exports = () => [FilteredStatus.PARTIAL_PASS, 'not have the same name for splitted chunk with webpack']

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

0 comments on commit d97255e

Please sign in to comment.