-
-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
) * test: delete test.filter.js if test is pass in tests/webpack-test * test: add test.filter.js for watchCases/parsing/switching-harmony
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import v from './lib' | ||
|
||
it('should compile', async () => { | ||
expect(v).toBe(1) | ||
}) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default 1; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// change | ||
export default 1; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** @type {import("@rspack/core").Configuration} */ | ||
module.exports = { | ||
optimization: { | ||
splitChunks: false, | ||
}, | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
checkStats(_stepName, stats) { | ||
// should keep module preOrderIndex and postOrderIndex during build | ||
return [...stats.modules].filter(m => { | ||
return m.moduleType !== 'runtime' | ||
}).every((m) => { | ||
return m.preOrderIndex !== undefined && m.postOrderIndex !== undefined | ||
}) | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
|
||
const supportsOptionalCatchBinding = require("../../../helpers/supportsOptionalCatchBinding"); | ||
|
||
module.exports = function(config) { | ||
module.exports = function (config) { | ||
// XXX: Disable this test if Terser is used because it does not support ES 2019 | ||
if (config.mode === "production") { | ||
return false; | ||
} | ||
return supportsOptionalCatchBinding(); | ||
}; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
// enable when support compilation.moduleGraph(unimplemented).getPreOrderIndex(unimplemented) | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { | ||
return false; | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// TODO: Should create a issue for this test | ||
// TODO: This test would painic, we should not painic when build | ||
module.exports = () => { | ||
return false; | ||
}; |
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,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// blocked by https://github.com/web-infra-dev/rspack/issues/3465 | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// blocked by chunkIds | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => { return false } | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// do not support webpack.ids.DeterministicModuleIdsPlugin | ||
// TODO: Should create a issue for this test | ||
module.exports = () => false; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
// do not support webpack.ids.DeterministicModuleIdsPlugin | ||
// TODO: Should create a issue for this test | ||
module.exports = () => false; |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// TODO: Should create a issue for this test | ||
module.exports = () => false; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = () => {return false} | ||
// TODO: Should create a issue for this test | ||
module.exports = () => { return false } |