From 52a1a7e85683f05040793def09dd09f2974b2b6f Mon Sep 17 00:00:00 2001 From: qixuan <58852732+GiveMe-A-Name@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:35:34 +0800 Subject: [PATCH] test: delete test.filter.js if test is pass in tests/webpack-test (#8409) * test: delete test.filter.js if test is pass in tests/webpack-test * test: add test.filter.js for watchCases/parsing/switching-harmony --- .../old_cache/local/code_splitting_cache.rs | 30 ++++++++++++++++++- .../src/deterministic_module_ids_plugin.rs | 4 +-- .../pre-order-index/0/index.js | 5 ++++ .../pre-order-index/0/lib.js | 1 + .../pre-order-index/1/lib.js | 2 ++ .../pre-order-index/rspack.config.js | 6 ++++ .../pre-order-index/test.config.js | 10 +++++++ .../large/many-replacements/test.filter.js | 1 + .../optional-catch-binding/test.filter.js | 3 +- .../cases/wasm/v128/test.filter.js | 1 + .../additional-pass/simple/test.filter.js | 3 +- .../configCases/amd/disabled/test.filter.js | 1 - .../asset-emitted/normal/test.filter.js | 3 +- .../asset-modules/base-uri/test.filter.js | 1 - .../custom-condition/test.filter.js | 3 +- .../custom-encoder/test.filter.js | 1 - .../asset-modules/file-url/test.filter.js | 3 +- .../global-options/test.filter.js | 3 +- .../asset-modules/http-url/test.filter.js | 3 +- .../asset-modules/ignore/test.filter.js | 3 +- .../input-data-url-encoding/test.filter.js | 3 +- .../asset-modules/opus/test.filter.js | 1 - .../asset-modules/overridePath/test.filter.js | 1 - .../asset-modules/path/test.filter.js | 1 - .../query-and-custom-condition/test.filter.js | 3 +- .../query-and-custom-encoder/test.filter.js | 3 +- .../real-content-hash/test.filter.js | 3 +- .../rule-generator-outputPath/test.filter.js | 3 +- .../test.filter.js | 1 - .../rule-generator-publicPath/test.filter.js | 1 - .../unsafe-cache-13827/test.filter.js | 3 +- .../asset-url/target-node3/test.filter.js | 3 +- .../asset-url/target-web1/test.filter.js | 3 +- .../assets/delete-asset/test.filter.js | 1 - .../1-use-library/test.filter.js | 1 - .../order-multiple-entries/test.filter.js | 1 + .../configCases/clean/dry/test.filter.js | 3 +- .../clean/ignore-fn/test.filter.js | 3 +- .../clean/ignore-hook/test.filter.js | 3 +- .../clean/ignore-rx/test.filter.js | 3 +- .../configCases/clean/link/test.filter.js | 3 +- .../require-context-id/test.filter.js | 3 +- .../code-generation/use-strict/test.filter.js | 3 +- .../test.filter.js | 1 - .../test.filter.js | 1 - .../import-module/test.filter.js | 2 ++ .../issue-13022/test.filter.js | 1 - .../load-chunk-function/test.filter.js | 1 - .../rename-10168/test.filter.js | 1 - .../side-effects/test.filter.js | 1 - .../split-chunk-entry-module/test.filter.js | 3 +- .../contenthash/assets/test.filter.js | 3 +- .../include-chunk-id/test.filter.js | 3 +- .../context-exclusion/simple/test.filter.js | 3 +- .../context-replacement/a/test.filter.js | 3 +- .../context-replacement/b/test.filter.js | 1 - .../context-replacement/c/test.filter.js | 3 +- .../context-replacement/d/test.filter.js | 3 +- .../context-replacement/e/test.filter.js | 3 +- .../css/css-modules-in-node/test.filter.js | 1 + .../css/css-modules/test.filter.js | 1 + .../css/exports-in-node/test.filter.js | 2 -- .../configCases/css/urls/test.filter.js | 1 + .../custom-modules/json-custom/test.filter.js | 3 +- .../localization/test.filter.js | 3 +- .../test.filter.js | 3 +- .../remove-export/test.filter.js | 3 +- .../delegated-hash/simple/test.filter.js | 3 +- .../delegated/simple/test.filter.js | 3 +- .../chunk-and-module/test.filter.js | 3 +- .../deprecations/chunk-files/test.filter.js | 3 +- .../deprecations/config/test.filter.js | 3 +- .../invalid-dependencies/test.filter.js | 3 +- .../non-unique-hash/test.filter.js | 3 +- .../entry/entry-base-uri/test.filter.js | 1 - .../entry/issue-13637/test.filter.js | 1 - .../entry/no-chunking/test.filter.js | 1 - .../entry/weird-names/test.filter.js | 3 +- .../entry/weird-names2/test.filter.js | 3 +- .../asset-options-validation/test.filter.js | 3 +- .../errors/case-emit/test.filter.js | 3 +- .../errors/entry-not-found/test.filter.js | 3 +- .../test.filter.js | 3 +- .../externals/async-externals/test.filter.js | 3 +- .../externals/externals-array/test.filter.js | 3 +- .../externals-in-commons-chunk/test.filter.js | 3 +- .../externals-system-custom/test.filter.js | 3 +- .../import-attributes/test.filter.js | 3 ++ .../optional-externals-root/test.filter.js | 3 +- .../optional-externals-umd/test.filter.js | 3 +- .../test.filter.js | 3 +- .../optional-externals-umd2/test.filter.js | 3 +- .../externals/resolve/test.filter.js | 3 +- .../filename-function/test.filter.js | 1 - .../split-chunks-filename/test.filter.js | 3 +- .../deterministic-module-ids/test.filter.js | 3 +- .../hashed-module-ids/test.filter.js | 3 +- .../output-filename/test.filter.js | 3 +- .../inner-graph/altaskitButton/test.filter.js | 1 - .../inner-graph/blockScopes/test.filter.js | 3 +- .../inner-graph/class/test.filter.js | 3 +- .../inner-graph/const/test.filter.js | 3 +- .../inner-graph/defaultArrow/test.filter.js | 1 - .../inner-graph/defaultClass/test.filter.js | 1 - .../defaultExpression/test.filter.js | 1 - .../defaultFunction/test.filter.js | 1 - .../defaultFunctionExpression/test.filter.js | 1 - .../inner-graph/defaultId/test.filter.js | 1 - .../defaultNamedFunction/test.filter.js | 1 - .../test.filter.js | 1 - .../inner-graph/eval-bailout/test.filter.js | 1 - .../inner-graph/export/test.filter.js | 1 - .../inner-graph/importAll/test.filter.js | 1 - .../inner-graph/issue-11678/test.filter.js | 1 - .../issue-12669-mini/test.filter.js | 1 - .../inner-graph/issue-12669/test.filter.js | 3 +- .../inner-graph/localReference/test.filter.js | 1 - .../inner-graph/nested/test.filter.js | 1 - .../inner-graph/pure/test.filter.js | 1 - .../inner-graph/ramdaIdentical/test.filter.js | 1 - .../inner-graph/specifier/test.filter.js | 1 - .../inner-graph/varNotWritten/test.filter.js | 3 +- .../inner-graph/varWritten/test.filter.js | 3 +- .../json/tree-shaking-default/test.filter.js | 3 +- .../configCases/layer/rules/test.filter.js | 3 +- .../library/1-use-library/test.filter.js | 5 ---- .../loaders/#-issue-14755-#/test.filter.js | 3 +- .../loaders/issue-9053/test.filter.js | 1 - .../loaders/options/test.filter.js | 3 +- .../futureDefaults/test.filter.js | 3 +- .../mangle-with-object-prop/test.filter.js | 3 +- .../optimization/chunk/test.filter.js | 3 +- .../hashed-module-ids/test.filter.js | 3 +- .../test.filter.js | 1 - .../non-webpack-require/test.filter.js | 5 ---- .../output/function/test.filter.js | 1 - .../output/inner-dirs-entries/test.filter.js | 1 - .../output/publicPath-web/test.filter.js | 1 - .../parsing/context/test.filter.js | 3 +- .../harmony-this-concat/test.filter.js | 3 +- .../parsing/issue-14545/test.filter.js | 3 +- .../parsing/issue-2942/test.filter.js | 3 +- .../parsing/issue-8293/test.filter.js | 3 +- .../parsing/issue-9042/test.filter.js | 3 +- .../parsing/optional-chaining/test.filter.js | 3 +- .../parsing/optional/test.filter.js | 3 +- .../parsing/require-ignore/test.filter.js | 3 +- .../parsing/requirejs/test.filter.js | 3 +- .../parsing/system.import/test.filter.js | 3 +- .../plugins/banner-plugin/test.filter.js | 1 - .../define-plugin-bigint/test.filter.js | 3 +- .../plugins/define-plugin/test.filter.js | 3 +- .../plugins/environment-plugin/test.filter.js | 1 - .../lib-manifest-plugin/test.filter.js | 3 +- .../loader-options-plugin/test.filter.js | 1 - .../plugins/min-chunk-size/test.filter.js | 3 +- .../mini-css-extract-plugin/test.filter.js | 3 +- .../plugins/profiling-plugin/test.filter.js | 3 +- .../plugins/progress-plugin/test.filter.js | 3 +- .../source-map-dev-tool-plugin/test.filter.js | 3 +- .../process-assets/html-plugin/test.filter.js | 3 +- .../load-module/test.filter.js | 3 +- .../records/issue-295/test.filter.js | 3 +- .../records/issue-2991/test.filter.js | 3 +- .../records/issue-7339/test.filter.js | 3 +- .../records/issue-7492/test.filter.js | 3 +- .../records/stable-sort/test.filter.js | 3 +- .../require/module-require/test.filter.js | 3 +- .../resolve-merging/override/test.filter.js | 3 +- .../test.filter.js | 3 +- .../empty-context-module/test.filter.js | 3 +- .../issue-11335-context-module/test.filter.js | 3 +- .../resolve/issue-15580/test.filter.js | 3 +- .../resolve/only-module/test.filter.js | 3 +- .../resolving/extensions-order/test.filter.js | 1 - .../resolving/prefer-absolute/test.filter.js | 3 +- .../rule-set/chaining/test.filter.js | 3 +- .../rule-set/compiler/test.filter.js | 3 +- .../rule-set/custom/test.filter.js | 3 +- .../rule-set/resolve-options/test.filter.js | 1 - .../simple-use-array-fn/test.filter.js | 3 +- .../simple-use-fn-array/test.filter.js | 3 +- .../rule-set/simple/test.filter.js | 3 +- .../class-naming/test.filter.js | 1 - .../create-dll-plugin/test.filter.js | 3 +- .../scope-hoisting/dll-plugin/test.filter.js | 3 +- .../scope-hoisting/esModule/test.filter.js | 1 - .../export-global/test.filter.js | 1 - .../harmony-pure-default/test.filter.js | 3 -- .../named-modules/test.filter.js | 1 - .../strictThisContextOnImports/test.filter.js | 1 - .../test.filter.js | 3 +- .../test.filter.js | 3 +- .../side-effects/issue-13063/test.filter.js | 3 +- .../side-effects-override/test.filter.js | 1 - .../side-effects-values/test.filter.js | 1 - .../side-effects/url/test.filter.js | 3 +- .../simple/empty-config/test.filter.js | 1 - .../test.filter.js | 1 - .../multi-compiler-functions/test.filter.js | 1 - .../simple/multi-compiler/test.filter.js | 1 - .../context-module-source-path/test.filter.js | 3 +- .../exclude-modules-source-map/test.filter.js | 3 +- .../test.filter.js | 3 +- .../chunk-filename-delimiter/test.filter.js | 1 - .../target/amd-container-named/test.filter.js | 1 + .../amd-container-unnamed/test.filter.js | 1 + .../target/amd-named/test.filter.js | 1 + .../target/amd-unnamed/test.filter.js | 1 + .../system-named-assets-path/test.filter.js | 1 + .../test.filter.js | 1 + .../test.filter.js | 1 + .../types/filesystems/test.filter.js | 1 + .../configCases/utils/lazy-set/test.filter.js | 3 +- .../export-imported-global/test.filter.js | 3 +- .../configCases/wasm/identical/test.filter.js | 3 +- .../wasm/import-wasm-wasm/test.filter.js | 3 +- .../missing-wasm-experiment/test.filter.js | 3 +- .../test.filter.js | 3 +- .../web/attach-existing/test.filter.js | 3 +- .../test.filter.js | 3 +- .../web/node-source-global/test.filter.js | 3 +- .../test.filter.js | 3 +- .../non-js-chunks-entrypoint/test.filter.js | 3 +- .../web/unique-jsonp/test.filter.js | 3 +- .../worker/custom-worker/test.filter.js | 5 ---- .../worker/issue-17489/test.filter.js | 5 ---- .../worker/node-worker-hmr/test.filter.js | 5 ---- .../worker/node-worker-named/test.filter.js | 5 ---- .../worker/web-worker/test.filter.js | 5 ---- .../worker/worker-contenthash/test.filter.js | 5 ---- .../configCases/worker/worklet/test.filter.js | 6 ---- .../split-chunks-webpackhot/test.filter.js | 5 ++-- .../chunks/split-chunks/test.filter.js | 5 ++-- .../hotCases/define/issue-6962/test.filter.js | 5 ++-- .../test.filter.js | 4 +-- .../full-hash-syntax-error/test.filter.js | 4 +-- .../lazy-compilation/https/test.filter.js | 1 + .../lazy-compilation/simple/test.filter.js | 1 + .../loader-import-module/css/test.filter.js | 4 +-- .../add-remove-chunks/test.filter.js | 4 +-- .../runtime/root-error/test.filter.js | 5 ++-- .../aggressive-splitting-entry/test.filter.js | 4 +-- .../named-chunks-plugin-async/test.filter.js | 4 +-- .../test.filter.js | 5 ++-- .../cache/add-defines/test.filter.js | 4 +-- .../cache/asset-concat/test.filter.js | 7 ----- .../child-compilation-cache/test.filter.js | 4 +-- .../cache/emit-without-clean/test.filter.js | 3 -- .../cache/loader-import-module/test.filter.js | 6 ++-- .../cache/managedPath/test.filter.js | 5 ++-- .../new-split-chunk-entry-node/test.filter.js | 5 ++-- .../new-split-chunk-entry-web/test.filter.js | 4 +-- .../cache/reexport-mangle/test.filter.js | 4 +-- .../unsafe-cache-duplicates/test.filter.js | 5 ++-- .../unsafe-cache-managed-paths/test.filter.js | 4 +-- .../cache/unsafe-cache/test.filter.js | 3 -- .../parsing/switching-harmony/test.filter.js | 5 ++-- .../test.filter.js | 4 +-- .../automatic-prefetch-plugin/test.filter.js | 4 +-- .../plugins/define-plugin/test.filter.js | 4 +-- .../dll-reference-plugin/test.filter.js | 4 +-- .../mini-css-extract-plugin/test.filter.js | 4 +-- .../plugins/profiling-plugin/test.filter.js | 4 +-- .../watch-ignore-plugin/test.filter.js | 4 +-- .../parse-failed-esm/test.filter.js | 4 +-- .../resolve/in-loader/test.filter.js | 4 +-- .../runtime/static-import/test.filter.js | 4 +-- .../side-effects/issue-7400/test.filter.js | 3 -- .../unable-to-snapshot/test.filter.js | 4 +-- .../watchCases/wasm/caching/test.filter.js | 5 ---- 271 files changed, 418 insertions(+), 342 deletions(-) create mode 100644 packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/0/index.js create mode 100644 packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/0/lib.js create mode 100644 packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/1/lib.js create mode 100644 packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/rspack.config.js create mode 100644 packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/test.config.js delete mode 100644 tests/webpack-test/configCases/amd/disabled/test.filter.js delete mode 100644 tests/webpack-test/configCases/asset-modules/base-uri/test.filter.js delete mode 100644 tests/webpack-test/configCases/asset-modules/custom-encoder/test.filter.js delete mode 100644 tests/webpack-test/configCases/asset-modules/opus/test.filter.js delete mode 100644 tests/webpack-test/configCases/asset-modules/overridePath/test.filter.js delete mode 100644 tests/webpack-test/configCases/asset-modules/path/test.filter.js delete mode 100644 tests/webpack-test/configCases/asset-modules/rule-generator-publicPath-override/test.filter.js delete mode 100644 tests/webpack-test/configCases/asset-modules/rule-generator-publicPath/test.filter.js delete mode 100644 tests/webpack-test/configCases/assets/delete-asset/test.filter.js delete mode 100644 tests/webpack-test/configCases/async-library/1-use-library/test.filter.js delete mode 100644 tests/webpack-test/configCases/concatenate-modules/destructuring-assignment-with-default-value-and-variable-collision-nested/test.filter.js delete mode 100644 tests/webpack-test/configCases/concatenate-modules/destructuring-assignment-with-default-value-and-variable-collision-simple/test.filter.js delete mode 100644 tests/webpack-test/configCases/concatenate-modules/issue-13022/test.filter.js delete mode 100644 tests/webpack-test/configCases/concatenate-modules/load-chunk-function/test.filter.js delete mode 100644 tests/webpack-test/configCases/concatenate-modules/rename-10168/test.filter.js delete mode 100644 tests/webpack-test/configCases/concatenate-modules/side-effects/test.filter.js delete mode 100644 tests/webpack-test/configCases/context-replacement/b/test.filter.js delete mode 100644 tests/webpack-test/configCases/css/exports-in-node/test.filter.js delete mode 100644 tests/webpack-test/configCases/entry/entry-base-uri/test.filter.js delete mode 100644 tests/webpack-test/configCases/entry/issue-13637/test.filter.js delete mode 100644 tests/webpack-test/configCases/entry/no-chunking/test.filter.js delete mode 100644 tests/webpack-test/configCases/filename-template/filename-function/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/altaskitButton/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/defaultArrow/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/defaultClass/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/defaultExpression/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/defaultFunction/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/defaultFunctionExpression/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/defaultId/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/defaultNamedFunction/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/defaultNamedFunctionExpression/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/eval-bailout/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/export/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/importAll/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/issue-11678/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/issue-12669-mini/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/localReference/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/nested/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/pure/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/ramdaIdentical/test.filter.js delete mode 100644 tests/webpack-test/configCases/inner-graph/specifier/test.filter.js delete mode 100644 tests/webpack-test/configCases/library/1-use-library/test.filter.js delete mode 100644 tests/webpack-test/configCases/loaders/issue-9053/test.filter.js delete mode 100644 tests/webpack-test/configCases/optimization/runtime-specific-used-exports2/test.filter.js delete mode 100644 tests/webpack-test/configCases/output-module/non-webpack-require/test.filter.js delete mode 100644 tests/webpack-test/configCases/output/function/test.filter.js delete mode 100644 tests/webpack-test/configCases/output/inner-dirs-entries/test.filter.js delete mode 100644 tests/webpack-test/configCases/output/publicPath-web/test.filter.js delete mode 100644 tests/webpack-test/configCases/plugins/banner-plugin/test.filter.js delete mode 100644 tests/webpack-test/configCases/plugins/environment-plugin/test.filter.js delete mode 100644 tests/webpack-test/configCases/plugins/loader-options-plugin/test.filter.js delete mode 100644 tests/webpack-test/configCases/resolving/extensions-order/test.filter.js delete mode 100644 tests/webpack-test/configCases/rule-set/resolve-options/test.filter.js delete mode 100644 tests/webpack-test/configCases/scope-hoisting/class-naming/test.filter.js delete mode 100644 tests/webpack-test/configCases/scope-hoisting/esModule/test.filter.js delete mode 100644 tests/webpack-test/configCases/scope-hoisting/export-global/test.filter.js delete mode 100644 tests/webpack-test/configCases/scope-hoisting/harmony-pure-default/test.filter.js delete mode 100644 tests/webpack-test/configCases/scope-hoisting/named-modules/test.filter.js delete mode 100644 tests/webpack-test/configCases/scope-hoisting/strictThisContextOnImports/test.filter.js delete mode 100644 tests/webpack-test/configCases/side-effects/side-effects-override/test.filter.js delete mode 100644 tests/webpack-test/configCases/side-effects/side-effects-values/test.filter.js delete mode 100644 tests/webpack-test/configCases/simple/empty-config/test.filter.js delete mode 100644 tests/webpack-test/configCases/simple/multi-compiler-functions-export/test.filter.js delete mode 100644 tests/webpack-test/configCases/simple/multi-compiler-functions/test.filter.js delete mode 100644 tests/webpack-test/configCases/simple/multi-compiler/test.filter.js delete mode 100644 tests/webpack-test/configCases/split-chunks/chunk-filename-delimiter/test.filter.js delete mode 100644 tests/webpack-test/configCases/worker/custom-worker/test.filter.js delete mode 100644 tests/webpack-test/configCases/worker/issue-17489/test.filter.js delete mode 100644 tests/webpack-test/configCases/worker/node-worker-hmr/test.filter.js delete mode 100644 tests/webpack-test/configCases/worker/node-worker-named/test.filter.js delete mode 100644 tests/webpack-test/configCases/worker/web-worker/test.filter.js delete mode 100644 tests/webpack-test/configCases/worker/worker-contenthash/test.filter.js delete mode 100644 tests/webpack-test/configCases/worker/worklet/test.filter.js delete mode 100644 tests/webpack-test/watchCases/cache/asset-concat/test.filter.js delete mode 100644 tests/webpack-test/watchCases/cache/emit-without-clean/test.filter.js delete mode 100644 tests/webpack-test/watchCases/cache/unsafe-cache/test.filter.js delete mode 100644 tests/webpack-test/watchCases/side-effects/issue-7400/test.filter.js delete mode 100644 tests/webpack-test/watchCases/wasm/caching/test.filter.js diff --git a/crates/rspack_core/src/old_cache/local/code_splitting_cache.rs b/crates/rspack_core/src/old_cache/local/code_splitting_cache.rs index c3058e893b1e..01f6a9c982f6 100644 --- a/crates/rspack_core/src/old_cache/local/code_splitting_cache.rs +++ b/crates/rspack_core/src/old_cache/local/code_splitting_cache.rs @@ -7,7 +7,7 @@ use tracing::instrument; use crate::{ build_chunk_graph::code_splitter::CodeSplitter, incremental::IncrementalPasses, Chunk, - ChunkGraph, ChunkGroup, ChunkGroupUkey, ChunkUkey, Compilation, + ChunkGraph, ChunkGroup, ChunkGroupUkey, ChunkUkey, Compilation, ModuleIdentifier, }; #[derive(Debug, Default)] @@ -20,6 +20,7 @@ pub struct CodeSplittingCache { named_chunk_groups: HashMap, named_chunks: HashMap, pub(crate) code_splitter: CodeSplitter, + pub(crate) module_idx: HashMap, } #[instrument(skip_all)] @@ -56,6 +57,17 @@ where s.spawn(|_| compilation.named_chunks = cache.named_chunks.clone()); }); + let module_idx = cache.module_idx.clone(); + let mut module_graph = compilation.get_module_graph_mut(); + for (m, (pre, post)) in module_idx { + let Some(mgm) = module_graph.module_graph_module_by_identifier_mut(&m) else { + continue; + }; + + mgm.pre_order_index = Some(pre); + mgm.post_order_index = Some(post); + } + if !has_change { return Ok(()); } @@ -72,5 +84,21 @@ where s.spawn(|_| cache.named_chunk_groups = compilation.named_chunk_groups.clone()); s.spawn(|_| cache.named_chunks = compilation.named_chunks.clone()); }); + + let mg = compilation.get_module_graph(); + let mut map = HashMap::default(); + for m in mg.modules().keys() { + let Some(mgm) = mg.module_graph_module_by_identifier(m) else { + continue; + }; + + let (Some(pre), Some(post)) = (mgm.pre_order_index, mgm.post_order_index) else { + continue; + }; + + map.insert(*m, (pre, post)); + } + let cache = &mut compilation.code_splitting_cache; + cache.module_idx = map; Ok(()) } diff --git a/crates/rspack_ids/src/deterministic_module_ids_plugin.rs b/crates/rspack_ids/src/deterministic_module_ids_plugin.rs index 2b753bdfbd0e..19071c93519c 100644 --- a/crates/rspack_ids/src/deterministic_module_ids_plugin.rs +++ b/crates/rspack_ids/src/deterministic_module_ids_plugin.rs @@ -36,9 +36,7 @@ fn module_ids(&self, compilation: &mut Compilation) -> Result<()> { |m| get_full_module_name(m, context), |a, b| compare_modules_by_pre_order_index_or_identifier(&module_graph, a, b), |module, id| { - let size = used_ids.len(); - used_ids.insert(id.to_string()); - if used_ids.len() == size { + if !used_ids.insert(id.to_string()) { conflicts += 1; return false; } diff --git a/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/0/index.js b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/0/index.js new file mode 100644 index 000000000000..031b9e960960 --- /dev/null +++ b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/0/index.js @@ -0,0 +1,5 @@ +import v from './lib' + +it('should compile', async () => { + expect(v).toBe(1) +}) diff --git a/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/0/lib.js b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/0/lib.js new file mode 100644 index 000000000000..aef22247d752 --- /dev/null +++ b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/0/lib.js @@ -0,0 +1 @@ +export default 1; diff --git a/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/1/lib.js b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/1/lib.js new file mode 100644 index 000000000000..cb48fdfc3217 --- /dev/null +++ b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/1/lib.js @@ -0,0 +1,2 @@ +// change +export default 1; diff --git a/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/rspack.config.js b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/rspack.config.js new file mode 100644 index 000000000000..74e69a194d0c --- /dev/null +++ b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/rspack.config.js @@ -0,0 +1,6 @@ +/** @type {import("@rspack/core").Configuration} */ +module.exports = { + optimization: { + splitChunks: false, + }, +}; diff --git a/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/test.config.js b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/test.config.js new file mode 100644 index 000000000000..48f2e704315c --- /dev/null +++ b/packages/rspack-test-tools/tests/watchCases/split-chunks-incremental/pre-order-index/test.config.js @@ -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 + }) + } +} diff --git a/tests/webpack-test/cases/large/many-replacements/test.filter.js b/tests/webpack-test/cases/large/many-replacements/test.filter.js index de62cf5195d1..718725c27b5c 100644 --- a/tests/webpack-test/cases/large/many-replacements/test.filter.js +++ b/tests/webpack-test/cases/large/many-replacements/test.filter.js @@ -2,4 +2,5 @@ // return !process.env.CI; // }; +// TODO: Should create a issue for this test module.exports = () => false // passed it, but it's too slow diff --git a/tests/webpack-test/cases/parsing/optional-catch-binding/test.filter.js b/tests/webpack-test/cases/parsing/optional-catch-binding/test.filter.js index ddb1f7680fed..1ce320ce005b 100644 --- a/tests/webpack-test/cases/parsing/optional-catch-binding/test.filter.js +++ b/tests/webpack-test/cases/parsing/optional-catch-binding/test.filter.js @@ -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(); }; - \ No newline at end of file diff --git a/tests/webpack-test/cases/wasm/v128/test.filter.js b/tests/webpack-test/cases/wasm/v128/test.filter.js index e2b403426cf1..8fda5884ec72 100644 --- a/tests/webpack-test/cases/wasm/v128/test.filter.js +++ b/tests/webpack-test/cases/wasm/v128/test.filter.js @@ -1,6 +1,7 @@ const supportsWebAssembly = require("../../../helpers/supportsWebAssembly"); const supportsFeature = require("webassembly-feature"); +// TODO: Should create a issue for this test module.exports = function (config) { // CompileError: WebAssembly.instantiate(): Compiling function #0 failed: memory instruction with no memory @+27 return false diff --git a/tests/webpack-test/configCases/additional-pass/simple/test.filter.js b/tests/webpack-test/configCases/additional-pass/simple/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/additional-pass/simple/test.filter.js +++ b/tests/webpack-test/configCases/additional-pass/simple/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/amd/disabled/test.filter.js b/tests/webpack-test/configCases/amd/disabled/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/amd/disabled/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/asset-emitted/normal/test.filter.js b/tests/webpack-test/configCases/asset-emitted/normal/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-emitted/normal/test.filter.js +++ b/tests/webpack-test/configCases/asset-emitted/normal/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/base-uri/test.filter.js b/tests/webpack-test/configCases/asset-modules/base-uri/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/asset-modules/base-uri/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/asset-modules/custom-condition/test.filter.js b/tests/webpack-test/configCases/asset-modules/custom-condition/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/custom-condition/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/custom-condition/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/custom-encoder/test.filter.js b/tests/webpack-test/configCases/asset-modules/custom-encoder/test.filter.js deleted file mode 100644 index ddf6fb5ca2f4..000000000000 --- a/tests/webpack-test/configCases/asset-modules/custom-encoder/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => { return true } \ No newline at end of file diff --git a/tests/webpack-test/configCases/asset-modules/file-url/test.filter.js b/tests/webpack-test/configCases/asset-modules/file-url/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/file-url/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/file-url/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/global-options/test.filter.js b/tests/webpack-test/configCases/asset-modules/global-options/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/global-options/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/global-options/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/http-url/test.filter.js b/tests/webpack-test/configCases/asset-modules/http-url/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/http-url/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/http-url/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/ignore/test.filter.js b/tests/webpack-test/configCases/asset-modules/ignore/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/ignore/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/ignore/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/input-data-url-encoding/test.filter.js b/tests/webpack-test/configCases/asset-modules/input-data-url-encoding/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/input-data-url-encoding/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/input-data-url-encoding/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/opus/test.filter.js b/tests/webpack-test/configCases/asset-modules/opus/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/asset-modules/opus/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/asset-modules/overridePath/test.filter.js b/tests/webpack-test/configCases/asset-modules/overridePath/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/asset-modules/overridePath/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/asset-modules/path/test.filter.js b/tests/webpack-test/configCases/asset-modules/path/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/asset-modules/path/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/asset-modules/query-and-custom-condition/test.filter.js b/tests/webpack-test/configCases/asset-modules/query-and-custom-condition/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/query-and-custom-condition/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/query-and-custom-condition/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/query-and-custom-encoder/test.filter.js b/tests/webpack-test/configCases/asset-modules/query-and-custom-encoder/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/query-and-custom-encoder/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/query-and-custom-encoder/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/real-content-hash/test.filter.js b/tests/webpack-test/configCases/asset-modules/real-content-hash/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/real-content-hash/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/real-content-hash/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/rule-generator-outputPath/test.filter.js b/tests/webpack-test/configCases/asset-modules/rule-generator-outputPath/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/rule-generator-outputPath/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/rule-generator-outputPath/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-modules/rule-generator-publicPath-override/test.filter.js b/tests/webpack-test/configCases/asset-modules/rule-generator-publicPath-override/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/asset-modules/rule-generator-publicPath-override/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/asset-modules/rule-generator-publicPath/test.filter.js b/tests/webpack-test/configCases/asset-modules/rule-generator-publicPath/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/asset-modules/rule-generator-publicPath/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/asset-modules/unsafe-cache-13827/test.filter.js b/tests/webpack-test/configCases/asset-modules/unsafe-cache-13827/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-modules/unsafe-cache-13827/test.filter.js +++ b/tests/webpack-test/configCases/asset-modules/unsafe-cache-13827/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-url/target-node3/test.filter.js b/tests/webpack-test/configCases/asset-url/target-node3/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-url/target-node3/test.filter.js +++ b/tests/webpack-test/configCases/asset-url/target-node3/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/asset-url/target-web1/test.filter.js b/tests/webpack-test/configCases/asset-url/target-web1/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/asset-url/target-web1/test.filter.js +++ b/tests/webpack-test/configCases/asset-url/target-web1/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/assets/delete-asset/test.filter.js b/tests/webpack-test/configCases/assets/delete-asset/test.filter.js deleted file mode 100644 index 98e4afe76084..000000000000 --- a/tests/webpack-test/configCases/assets/delete-asset/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} diff --git a/tests/webpack-test/configCases/async-library/1-use-library/test.filter.js b/tests/webpack-test/configCases/async-library/1-use-library/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/async-library/1-use-library/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/chunk-index/order-multiple-entries/test.filter.js b/tests/webpack-test/configCases/chunk-index/order-multiple-entries/test.filter.js index 528a784a7062..3f77f9ff9858 100644 --- a/tests/webpack-test/configCases/chunk-index/order-multiple-entries/test.filter.js +++ b/tests/webpack-test/configCases/chunk-index/order-multiple-entries/test.filter.js @@ -1,4 +1,5 @@ // enable when support compilation.moduleGraph(unimplemented).getPreOrderIndex(unimplemented) +// TODO: Should create a issue for this test module.exports = () => { return false; }; diff --git a/tests/webpack-test/configCases/clean/dry/test.filter.js b/tests/webpack-test/configCases/clean/dry/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/clean/dry/test.filter.js +++ b/tests/webpack-test/configCases/clean/dry/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/clean/ignore-fn/test.filter.js b/tests/webpack-test/configCases/clean/ignore-fn/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/clean/ignore-fn/test.filter.js +++ b/tests/webpack-test/configCases/clean/ignore-fn/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/clean/ignore-hook/test.filter.js b/tests/webpack-test/configCases/clean/ignore-hook/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/clean/ignore-hook/test.filter.js +++ b/tests/webpack-test/configCases/clean/ignore-hook/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/clean/ignore-rx/test.filter.js b/tests/webpack-test/configCases/clean/ignore-rx/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/clean/ignore-rx/test.filter.js +++ b/tests/webpack-test/configCases/clean/ignore-rx/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/clean/link/test.filter.js b/tests/webpack-test/configCases/clean/link/test.filter.js index 1d850c8ab007..e168be9381d1 100644 --- a/tests/webpack-test/configCases/clean/link/test.filter.js +++ b/tests/webpack-test/configCases/clean/link/test.filter.js @@ -16,4 +16,5 @@ // } // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/code-generation/require-context-id/test.filter.js b/tests/webpack-test/configCases/code-generation/require-context-id/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/code-generation/require-context-id/test.filter.js +++ b/tests/webpack-test/configCases/code-generation/require-context-id/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/code-generation/use-strict/test.filter.js b/tests/webpack-test/configCases/code-generation/use-strict/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/code-generation/use-strict/test.filter.js +++ b/tests/webpack-test/configCases/code-generation/use-strict/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/concatenate-modules/destructuring-assignment-with-default-value-and-variable-collision-nested/test.filter.js b/tests/webpack-test/configCases/concatenate-modules/destructuring-assignment-with-default-value-and-variable-collision-nested/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/concatenate-modules/destructuring-assignment-with-default-value-and-variable-collision-nested/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/concatenate-modules/destructuring-assignment-with-default-value-and-variable-collision-simple/test.filter.js b/tests/webpack-test/configCases/concatenate-modules/destructuring-assignment-with-default-value-and-variable-collision-simple/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/concatenate-modules/destructuring-assignment-with-default-value-and-variable-collision-simple/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/concatenate-modules/import-module/test.filter.js b/tests/webpack-test/configCases/concatenate-modules/import-module/test.filter.js index 55a36c5fed73..f9e63eddc0d4 100644 --- a/tests/webpack-test/configCases/concatenate-modules/import-module/test.filter.js +++ b/tests/webpack-test/configCases/concatenate-modules/import-module/test.filter.js @@ -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; }; diff --git a/tests/webpack-test/configCases/concatenate-modules/issue-13022/test.filter.js b/tests/webpack-test/configCases/concatenate-modules/issue-13022/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/concatenate-modules/issue-13022/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/concatenate-modules/load-chunk-function/test.filter.js b/tests/webpack-test/configCases/concatenate-modules/load-chunk-function/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/concatenate-modules/load-chunk-function/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/concatenate-modules/rename-10168/test.filter.js b/tests/webpack-test/configCases/concatenate-modules/rename-10168/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/concatenate-modules/rename-10168/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/concatenate-modules/side-effects/test.filter.js b/tests/webpack-test/configCases/concatenate-modules/side-effects/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/concatenate-modules/side-effects/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/concatenate-modules/split-chunk-entry-module/test.filter.js b/tests/webpack-test/configCases/concatenate-modules/split-chunk-entry-module/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/concatenate-modules/split-chunk-entry-module/test.filter.js +++ b/tests/webpack-test/configCases/concatenate-modules/split-chunk-entry-module/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/contenthash/assets/test.filter.js b/tests/webpack-test/configCases/contenthash/assets/test.filter.js index f0f4fcffbf48..d0539b037dd7 100644 --- a/tests/webpack-test/configCases/contenthash/assets/test.filter.js +++ b/tests/webpack-test/configCases/contenthash/assets/test.filter.js @@ -1,2 +1,3 @@ // blocked by https://github.com/web-infra-dev/rspack/issues/3465 -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/contenthash/include-chunk-id/test.filter.js b/tests/webpack-test/configCases/contenthash/include-chunk-id/test.filter.js index 72f7b8e81491..4f680a31cb83 100644 --- a/tests/webpack-test/configCases/contenthash/include-chunk-id/test.filter.js +++ b/tests/webpack-test/configCases/contenthash/include-chunk-id/test.filter.js @@ -1,2 +1,3 @@ // blocked by chunkIds -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/context-exclusion/simple/test.filter.js b/tests/webpack-test/configCases/context-exclusion/simple/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/context-exclusion/simple/test.filter.js +++ b/tests/webpack-test/configCases/context-exclusion/simple/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/context-replacement/a/test.filter.js b/tests/webpack-test/configCases/context-replacement/a/test.filter.js index 7910c8152ef4..042493e42a5b 100644 --- a/tests/webpack-test/configCases/context-replacement/a/test.filter.js +++ b/tests/webpack-test/configCases/context-replacement/a/test.filter.js @@ -1 +1,2 @@ -module.exports = () => { return false } \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/context-replacement/b/test.filter.js b/tests/webpack-test/configCases/context-replacement/b/test.filter.js deleted file mode 100644 index 7910c8152ef4..000000000000 --- a/tests/webpack-test/configCases/context-replacement/b/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => { return false } \ No newline at end of file diff --git a/tests/webpack-test/configCases/context-replacement/c/test.filter.js b/tests/webpack-test/configCases/context-replacement/c/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/context-replacement/c/test.filter.js +++ b/tests/webpack-test/configCases/context-replacement/c/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/context-replacement/d/test.filter.js b/tests/webpack-test/configCases/context-replacement/d/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/context-replacement/d/test.filter.js +++ b/tests/webpack-test/configCases/context-replacement/d/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/context-replacement/e/test.filter.js b/tests/webpack-test/configCases/context-replacement/e/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/context-replacement/e/test.filter.js +++ b/tests/webpack-test/configCases/context-replacement/e/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/css/css-modules-in-node/test.filter.js b/tests/webpack-test/configCases/css/css-modules-in-node/test.filter.js index 76fdd9825fb5..77af9d801d37 100644 --- a/tests/webpack-test/configCases/css/css-modules-in-node/test.filter.js +++ b/tests/webpack-test/configCases/css/css-modules-in-node/test.filter.js @@ -1,2 +1,3 @@ // do not support webpack.ids.DeterministicModuleIdsPlugin +// TODO: Should create a issue for this test module.exports = () => false; diff --git a/tests/webpack-test/configCases/css/css-modules/test.filter.js b/tests/webpack-test/configCases/css/css-modules/test.filter.js index 76fdd9825fb5..77af9d801d37 100644 --- a/tests/webpack-test/configCases/css/css-modules/test.filter.js +++ b/tests/webpack-test/configCases/css/css-modules/test.filter.js @@ -1,2 +1,3 @@ // do not support webpack.ids.DeterministicModuleIdsPlugin +// TODO: Should create a issue for this test module.exports = () => false; diff --git a/tests/webpack-test/configCases/css/exports-in-node/test.filter.js b/tests/webpack-test/configCases/css/exports-in-node/test.filter.js deleted file mode 100644 index 491f730b1eb4..000000000000 --- a/tests/webpack-test/configCases/css/exports-in-node/test.filter.js +++ /dev/null @@ -1,2 +0,0 @@ -// webpack css lexer support pattern like "abc/****/ /* hello world *//****/ def" -module.exports = () => false; diff --git a/tests/webpack-test/configCases/css/urls/test.filter.js b/tests/webpack-test/configCases/css/urls/test.filter.js index 0ba64710234b..49790b866acb 100644 --- a/tests/webpack-test/configCases/css/urls/test.filter.js +++ b/tests/webpack-test/configCases/css/urls/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false; diff --git a/tests/webpack-test/configCases/custom-modules/json-custom/test.filter.js b/tests/webpack-test/configCases/custom-modules/json-custom/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/custom-modules/json-custom/test.filter.js +++ b/tests/webpack-test/configCases/custom-modules/json-custom/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/custom-source-type/localization/test.filter.js b/tests/webpack-test/configCases/custom-source-type/localization/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/custom-source-type/localization/test.filter.js +++ b/tests/webpack-test/configCases/custom-source-type/localization/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/deep-scope-analysis/remove-export-scope-hoisting/test.filter.js b/tests/webpack-test/configCases/deep-scope-analysis/remove-export-scope-hoisting/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/deep-scope-analysis/remove-export-scope-hoisting/test.filter.js +++ b/tests/webpack-test/configCases/deep-scope-analysis/remove-export-scope-hoisting/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/deep-scope-analysis/remove-export/test.filter.js b/tests/webpack-test/configCases/deep-scope-analysis/remove-export/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/deep-scope-analysis/remove-export/test.filter.js +++ b/tests/webpack-test/configCases/deep-scope-analysis/remove-export/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/delegated-hash/simple/test.filter.js b/tests/webpack-test/configCases/delegated-hash/simple/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/delegated-hash/simple/test.filter.js +++ b/tests/webpack-test/configCases/delegated-hash/simple/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/delegated/simple/test.filter.js b/tests/webpack-test/configCases/delegated/simple/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/delegated/simple/test.filter.js +++ b/tests/webpack-test/configCases/delegated/simple/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/deprecations/chunk-and-module/test.filter.js b/tests/webpack-test/configCases/deprecations/chunk-and-module/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/deprecations/chunk-and-module/test.filter.js +++ b/tests/webpack-test/configCases/deprecations/chunk-and-module/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/deprecations/chunk-files/test.filter.js b/tests/webpack-test/configCases/deprecations/chunk-files/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/deprecations/chunk-files/test.filter.js +++ b/tests/webpack-test/configCases/deprecations/chunk-files/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/deprecations/config/test.filter.js b/tests/webpack-test/configCases/deprecations/config/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/deprecations/config/test.filter.js +++ b/tests/webpack-test/configCases/deprecations/config/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/deprecations/invalid-dependencies/test.filter.js b/tests/webpack-test/configCases/deprecations/invalid-dependencies/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/deprecations/invalid-dependencies/test.filter.js +++ b/tests/webpack-test/configCases/deprecations/invalid-dependencies/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/deprecations/non-unique-hash/test.filter.js b/tests/webpack-test/configCases/deprecations/non-unique-hash/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/deprecations/non-unique-hash/test.filter.js +++ b/tests/webpack-test/configCases/deprecations/non-unique-hash/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/entry/entry-base-uri/test.filter.js b/tests/webpack-test/configCases/entry/entry-base-uri/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/entry/entry-base-uri/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/entry/issue-13637/test.filter.js b/tests/webpack-test/configCases/entry/issue-13637/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/entry/issue-13637/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/entry/no-chunking/test.filter.js b/tests/webpack-test/configCases/entry/no-chunking/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/entry/no-chunking/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/entry/weird-names/test.filter.js b/tests/webpack-test/configCases/entry/weird-names/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/entry/weird-names/test.filter.js +++ b/tests/webpack-test/configCases/entry/weird-names/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/entry/weird-names2/test.filter.js b/tests/webpack-test/configCases/entry/weird-names2/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/entry/weird-names2/test.filter.js +++ b/tests/webpack-test/configCases/entry/weird-names2/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/errors/asset-options-validation/test.filter.js b/tests/webpack-test/configCases/errors/asset-options-validation/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/errors/asset-options-validation/test.filter.js +++ b/tests/webpack-test/configCases/errors/asset-options-validation/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/errors/case-emit/test.filter.js b/tests/webpack-test/configCases/errors/case-emit/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/errors/case-emit/test.filter.js +++ b/tests/webpack-test/configCases/errors/case-emit/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/errors/entry-not-found/test.filter.js b/tests/webpack-test/configCases/errors/entry-not-found/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/errors/entry-not-found/test.filter.js +++ b/tests/webpack-test/configCases/errors/entry-not-found/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/errors/exception-in-chunk-renderer/test.filter.js b/tests/webpack-test/configCases/errors/exception-in-chunk-renderer/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/errors/exception-in-chunk-renderer/test.filter.js +++ b/tests/webpack-test/configCases/errors/exception-in-chunk-renderer/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/async-externals/test.filter.js b/tests/webpack-test/configCases/externals/async-externals/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/async-externals/test.filter.js +++ b/tests/webpack-test/configCases/externals/async-externals/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/externals-array/test.filter.js b/tests/webpack-test/configCases/externals/externals-array/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/externals-array/test.filter.js +++ b/tests/webpack-test/configCases/externals/externals-array/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/externals-in-commons-chunk/test.filter.js b/tests/webpack-test/configCases/externals/externals-in-commons-chunk/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/externals-in-commons-chunk/test.filter.js +++ b/tests/webpack-test/configCases/externals/externals-in-commons-chunk/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/externals-system-custom/test.filter.js b/tests/webpack-test/configCases/externals/externals-system-custom/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/externals-system-custom/test.filter.js +++ b/tests/webpack-test/configCases/externals/externals-system-custom/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/import-attributes/test.filter.js b/tests/webpack-test/configCases/externals/import-attributes/test.filter.js index 1ebdc68c7077..28d3a82d21b9 100644 --- a/tests/webpack-test/configCases/externals/import-attributes/test.filter.js +++ b/tests/webpack-test/configCases/externals/import-attributes/test.filter.js @@ -1,3 +1,6 @@ + +// TODO: Should create a issue for this test +// TODO: _painic module.exports = () => { // return /^v(2[2-9])/.test(process.version); return false; diff --git a/tests/webpack-test/configCases/externals/optional-externals-root/test.filter.js b/tests/webpack-test/configCases/externals/optional-externals-root/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/optional-externals-root/test.filter.js +++ b/tests/webpack-test/configCases/externals/optional-externals-root/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/optional-externals-umd/test.filter.js b/tests/webpack-test/configCases/externals/optional-externals-umd/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/optional-externals-umd/test.filter.js +++ b/tests/webpack-test/configCases/externals/optional-externals-umd/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/optional-externals-umd2-mixed/test.filter.js b/tests/webpack-test/configCases/externals/optional-externals-umd2-mixed/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/optional-externals-umd2-mixed/test.filter.js +++ b/tests/webpack-test/configCases/externals/optional-externals-umd2-mixed/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/optional-externals-umd2/test.filter.js b/tests/webpack-test/configCases/externals/optional-externals-umd2/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/optional-externals-umd2/test.filter.js +++ b/tests/webpack-test/configCases/externals/optional-externals-umd2/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/externals/resolve/test.filter.js b/tests/webpack-test/configCases/externals/resolve/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/externals/resolve/test.filter.js +++ b/tests/webpack-test/configCases/externals/resolve/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/filename-template/filename-function/test.filter.js b/tests/webpack-test/configCases/filename-template/filename-function/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/filename-template/filename-function/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/filename-template/split-chunks-filename/test.filter.js b/tests/webpack-test/configCases/filename-template/split-chunks-filename/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/filename-template/split-chunks-filename/test.filter.js +++ b/tests/webpack-test/configCases/filename-template/split-chunks-filename/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/hash-length/deterministic-module-ids/test.filter.js b/tests/webpack-test/configCases/hash-length/deterministic-module-ids/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/hash-length/deterministic-module-ids/test.filter.js +++ b/tests/webpack-test/configCases/hash-length/deterministic-module-ids/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/hash-length/hashed-module-ids/test.filter.js b/tests/webpack-test/configCases/hash-length/hashed-module-ids/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/hash-length/hashed-module-ids/test.filter.js +++ b/tests/webpack-test/configCases/hash-length/hashed-module-ids/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/hash-length/output-filename/test.filter.js b/tests/webpack-test/configCases/hash-length/output-filename/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/hash-length/output-filename/test.filter.js +++ b/tests/webpack-test/configCases/hash-length/output-filename/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/inner-graph/altaskitButton/test.filter.js b/tests/webpack-test/configCases/inner-graph/altaskitButton/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/altaskitButton/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/blockScopes/test.filter.js b/tests/webpack-test/configCases/inner-graph/blockScopes/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/inner-graph/blockScopes/test.filter.js +++ b/tests/webpack-test/configCases/inner-graph/blockScopes/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/inner-graph/class/test.filter.js b/tests/webpack-test/configCases/inner-graph/class/test.filter.js index 19f024750187..12664ccac2e0 100644 --- a/tests/webpack-test/configCases/inner-graph/class/test.filter.js +++ b/tests/webpack-test/configCases/inner-graph/class/test.filter.js @@ -4,4 +4,5 @@ // return supportsClassFields(); // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/inner-graph/const/test.filter.js b/tests/webpack-test/configCases/inner-graph/const/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/inner-graph/const/test.filter.js +++ b/tests/webpack-test/configCases/inner-graph/const/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/inner-graph/defaultArrow/test.filter.js b/tests/webpack-test/configCases/inner-graph/defaultArrow/test.filter.js deleted file mode 100644 index 98e4afe76084..000000000000 --- a/tests/webpack-test/configCases/inner-graph/defaultArrow/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} diff --git a/tests/webpack-test/configCases/inner-graph/defaultClass/test.filter.js b/tests/webpack-test/configCases/inner-graph/defaultClass/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/defaultClass/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/defaultExpression/test.filter.js b/tests/webpack-test/configCases/inner-graph/defaultExpression/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/defaultExpression/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/defaultFunction/test.filter.js b/tests/webpack-test/configCases/inner-graph/defaultFunction/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/defaultFunction/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/defaultFunctionExpression/test.filter.js b/tests/webpack-test/configCases/inner-graph/defaultFunctionExpression/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/defaultFunctionExpression/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/defaultId/test.filter.js b/tests/webpack-test/configCases/inner-graph/defaultId/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/defaultId/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/defaultNamedFunction/test.filter.js b/tests/webpack-test/configCases/inner-graph/defaultNamedFunction/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/defaultNamedFunction/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/defaultNamedFunctionExpression/test.filter.js b/tests/webpack-test/configCases/inner-graph/defaultNamedFunctionExpression/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/defaultNamedFunctionExpression/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/eval-bailout/test.filter.js b/tests/webpack-test/configCases/inner-graph/eval-bailout/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/eval-bailout/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/export/test.filter.js b/tests/webpack-test/configCases/inner-graph/export/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/export/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/importAll/test.filter.js b/tests/webpack-test/configCases/inner-graph/importAll/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/importAll/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/issue-11678/test.filter.js b/tests/webpack-test/configCases/inner-graph/issue-11678/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/issue-11678/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/issue-12669-mini/test.filter.js b/tests/webpack-test/configCases/inner-graph/issue-12669-mini/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/issue-12669-mini/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/issue-12669/test.filter.js b/tests/webpack-test/configCases/inner-graph/issue-12669/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/inner-graph/issue-12669/test.filter.js +++ b/tests/webpack-test/configCases/inner-graph/issue-12669/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/inner-graph/localReference/test.filter.js b/tests/webpack-test/configCases/inner-graph/localReference/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/localReference/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/nested/test.filter.js b/tests/webpack-test/configCases/inner-graph/nested/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/nested/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/pure/test.filter.js b/tests/webpack-test/configCases/inner-graph/pure/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/pure/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/ramdaIdentical/test.filter.js b/tests/webpack-test/configCases/inner-graph/ramdaIdentical/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/ramdaIdentical/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/specifier/test.filter.js b/tests/webpack-test/configCases/inner-graph/specifier/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/inner-graph/specifier/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/inner-graph/varNotWritten/test.filter.js b/tests/webpack-test/configCases/inner-graph/varNotWritten/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/inner-graph/varNotWritten/test.filter.js +++ b/tests/webpack-test/configCases/inner-graph/varNotWritten/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/inner-graph/varWritten/test.filter.js b/tests/webpack-test/configCases/inner-graph/varWritten/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/inner-graph/varWritten/test.filter.js +++ b/tests/webpack-test/configCases/inner-graph/varWritten/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/json/tree-shaking-default/test.filter.js b/tests/webpack-test/configCases/json/tree-shaking-default/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/json/tree-shaking-default/test.filter.js +++ b/tests/webpack-test/configCases/json/tree-shaking-default/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/layer/rules/test.filter.js b/tests/webpack-test/configCases/layer/rules/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/layer/rules/test.filter.js +++ b/tests/webpack-test/configCases/layer/rules/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/library/1-use-library/test.filter.js b/tests/webpack-test/configCases/library/1-use-library/test.filter.js deleted file mode 100644 index 6b1e3a765485..000000000000 --- a/tests/webpack-test/configCases/library/1-use-library/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = () => { - // Not all test cases are supported. - // See "https://github.com/web-infra-dev/rspack/issues/4313". - return true; -}; diff --git a/tests/webpack-test/configCases/loaders/#-issue-14755-#/test.filter.js b/tests/webpack-test/configCases/loaders/#-issue-14755-#/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/loaders/#-issue-14755-#/test.filter.js +++ b/tests/webpack-test/configCases/loaders/#-issue-14755-#/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/loaders/issue-9053/test.filter.js b/tests/webpack-test/configCases/loaders/issue-9053/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/loaders/issue-9053/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/loaders/options/test.filter.js b/tests/webpack-test/configCases/loaders/options/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/loaders/options/test.filter.js +++ b/tests/webpack-test/configCases/loaders/options/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/managedPaths/futureDefaults/test.filter.js b/tests/webpack-test/configCases/managedPaths/futureDefaults/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/managedPaths/futureDefaults/test.filter.js +++ b/tests/webpack-test/configCases/managedPaths/futureDefaults/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/mangle/mangle-with-object-prop/test.filter.js b/tests/webpack-test/configCases/mangle/mangle-with-object-prop/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/mangle/mangle-with-object-prop/test.filter.js +++ b/tests/webpack-test/configCases/mangle/mangle-with-object-prop/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/optimization/chunk/test.filter.js b/tests/webpack-test/configCases/optimization/chunk/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/optimization/chunk/test.filter.js +++ b/tests/webpack-test/configCases/optimization/chunk/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/optimization/hashed-module-ids/test.filter.js b/tests/webpack-test/configCases/optimization/hashed-module-ids/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/optimization/hashed-module-ids/test.filter.js +++ b/tests/webpack-test/configCases/optimization/hashed-module-ids/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/optimization/runtime-specific-used-exports2/test.filter.js b/tests/webpack-test/configCases/optimization/runtime-specific-used-exports2/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/optimization/runtime-specific-used-exports2/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/output-module/non-webpack-require/test.filter.js b/tests/webpack-test/configCases/output-module/non-webpack-require/test.filter.js deleted file mode 100644 index ad4dc826959e..000000000000 --- a/tests/webpack-test/configCases/output-module/non-webpack-require/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -const supportsRequireInModule = require("../../../helpers/supportsRequireInModule"); - -module.exports = () => { - return supportsRequireInModule(); -}; diff --git a/tests/webpack-test/configCases/output/function/test.filter.js b/tests/webpack-test/configCases/output/function/test.filter.js deleted file mode 100644 index be96fcb74042..000000000000 --- a/tests/webpack-test/configCases/output/function/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => true \ No newline at end of file diff --git a/tests/webpack-test/configCases/output/inner-dirs-entries/test.filter.js b/tests/webpack-test/configCases/output/inner-dirs-entries/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/output/inner-dirs-entries/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/output/publicPath-web/test.filter.js b/tests/webpack-test/configCases/output/publicPath-web/test.filter.js deleted file mode 100644 index be96fcb74042..000000000000 --- a/tests/webpack-test/configCases/output/publicPath-web/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => true \ No newline at end of file diff --git a/tests/webpack-test/configCases/parsing/context/test.filter.js b/tests/webpack-test/configCases/parsing/context/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/context/test.filter.js +++ b/tests/webpack-test/configCases/parsing/context/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/harmony-this-concat/test.filter.js b/tests/webpack-test/configCases/parsing/harmony-this-concat/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/harmony-this-concat/test.filter.js +++ b/tests/webpack-test/configCases/parsing/harmony-this-concat/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/issue-14545/test.filter.js b/tests/webpack-test/configCases/parsing/issue-14545/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/issue-14545/test.filter.js +++ b/tests/webpack-test/configCases/parsing/issue-14545/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/issue-2942/test.filter.js b/tests/webpack-test/configCases/parsing/issue-2942/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/issue-2942/test.filter.js +++ b/tests/webpack-test/configCases/parsing/issue-2942/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/issue-8293/test.filter.js b/tests/webpack-test/configCases/parsing/issue-8293/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/issue-8293/test.filter.js +++ b/tests/webpack-test/configCases/parsing/issue-8293/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/issue-9042/test.filter.js b/tests/webpack-test/configCases/parsing/issue-9042/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/issue-9042/test.filter.js +++ b/tests/webpack-test/configCases/parsing/issue-9042/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/optional-chaining/test.filter.js b/tests/webpack-test/configCases/parsing/optional-chaining/test.filter.js index cc7531752315..e46f7924f73b 100644 --- a/tests/webpack-test/configCases/parsing/optional-chaining/test.filter.js +++ b/tests/webpack-test/configCases/parsing/optional-chaining/test.filter.js @@ -5,4 +5,5 @@ // return supportsOptionalChaining(); // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/optional/test.filter.js b/tests/webpack-test/configCases/parsing/optional/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/optional/test.filter.js +++ b/tests/webpack-test/configCases/parsing/optional/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/require-ignore/test.filter.js b/tests/webpack-test/configCases/parsing/require-ignore/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/require-ignore/test.filter.js +++ b/tests/webpack-test/configCases/parsing/require-ignore/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/requirejs/test.filter.js b/tests/webpack-test/configCases/parsing/requirejs/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/requirejs/test.filter.js +++ b/tests/webpack-test/configCases/parsing/requirejs/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/parsing/system.import/test.filter.js b/tests/webpack-test/configCases/parsing/system.import/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/parsing/system.import/test.filter.js +++ b/tests/webpack-test/configCases/parsing/system.import/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/plugins/banner-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/banner-plugin/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/plugins/banner-plugin/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/plugins/define-plugin-bigint/test.filter.js b/tests/webpack-test/configCases/plugins/define-plugin-bigint/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/plugins/define-plugin-bigint/test.filter.js +++ b/tests/webpack-test/configCases/plugins/define-plugin-bigint/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/plugins/define-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/define-plugin/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/plugins/define-plugin/test.filter.js +++ b/tests/webpack-test/configCases/plugins/define-plugin/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/plugins/environment-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/environment-plugin/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/plugins/environment-plugin/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/plugins/lib-manifest-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/lib-manifest-plugin/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/plugins/lib-manifest-plugin/test.filter.js +++ b/tests/webpack-test/configCases/plugins/lib-manifest-plugin/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/plugins/loader-options-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/loader-options-plugin/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/plugins/loader-options-plugin/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/plugins/min-chunk-size/test.filter.js b/tests/webpack-test/configCases/plugins/min-chunk-size/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/plugins/min-chunk-size/test.filter.js +++ b/tests/webpack-test/configCases/plugins/min-chunk-size/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/plugins/mini-css-extract-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/mini-css-extract-plugin/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/plugins/mini-css-extract-plugin/test.filter.js +++ b/tests/webpack-test/configCases/plugins/mini-css-extract-plugin/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/plugins/profiling-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/profiling-plugin/test.filter.js index abd8575cbc8f..25695cfba221 100644 --- a/tests/webpack-test/configCases/plugins/profiling-plugin/test.filter.js +++ b/tests/webpack-test/configCases/plugins/profiling-plugin/test.filter.js @@ -2,4 +2,5 @@ // return !process.env.CI; // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/plugins/progress-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/progress-plugin/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/plugins/progress-plugin/test.filter.js +++ b/tests/webpack-test/configCases/plugins/progress-plugin/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/plugins/source-map-dev-tool-plugin/test.filter.js b/tests/webpack-test/configCases/plugins/source-map-dev-tool-plugin/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/plugins/source-map-dev-tool-plugin/test.filter.js +++ b/tests/webpack-test/configCases/plugins/source-map-dev-tool-plugin/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/process-assets/html-plugin/test.filter.js b/tests/webpack-test/configCases/process-assets/html-plugin/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/process-assets/html-plugin/test.filter.js +++ b/tests/webpack-test/configCases/process-assets/html-plugin/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/race-conditions/load-module/test.filter.js b/tests/webpack-test/configCases/race-conditions/load-module/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/race-conditions/load-module/test.filter.js +++ b/tests/webpack-test/configCases/race-conditions/load-module/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/records/issue-295/test.filter.js b/tests/webpack-test/configCases/records/issue-295/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/records/issue-295/test.filter.js +++ b/tests/webpack-test/configCases/records/issue-295/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/records/issue-2991/test.filter.js b/tests/webpack-test/configCases/records/issue-2991/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/records/issue-2991/test.filter.js +++ b/tests/webpack-test/configCases/records/issue-2991/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/records/issue-7339/test.filter.js b/tests/webpack-test/configCases/records/issue-7339/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/records/issue-7339/test.filter.js +++ b/tests/webpack-test/configCases/records/issue-7339/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/records/issue-7492/test.filter.js b/tests/webpack-test/configCases/records/issue-7492/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/records/issue-7492/test.filter.js +++ b/tests/webpack-test/configCases/records/issue-7492/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/records/stable-sort/test.filter.js b/tests/webpack-test/configCases/records/stable-sort/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/records/stable-sort/test.filter.js +++ b/tests/webpack-test/configCases/records/stable-sort/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/require/module-require/test.filter.js b/tests/webpack-test/configCases/require/module-require/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/require/module-require/test.filter.js +++ b/tests/webpack-test/configCases/require/module-require/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/resolve-merging/override/test.filter.js b/tests/webpack-test/configCases/resolve-merging/override/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/resolve-merging/override/test.filter.js +++ b/tests/webpack-test/configCases/resolve-merging/override/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/resolve/context-resolve-with-ignore/test.filter.js b/tests/webpack-test/configCases/resolve/context-resolve-with-ignore/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/resolve/context-resolve-with-ignore/test.filter.js +++ b/tests/webpack-test/configCases/resolve/context-resolve-with-ignore/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/resolve/empty-context-module/test.filter.js b/tests/webpack-test/configCases/resolve/empty-context-module/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/resolve/empty-context-module/test.filter.js +++ b/tests/webpack-test/configCases/resolve/empty-context-module/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/resolve/issue-11335-context-module/test.filter.js b/tests/webpack-test/configCases/resolve/issue-11335-context-module/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/resolve/issue-11335-context-module/test.filter.js +++ b/tests/webpack-test/configCases/resolve/issue-11335-context-module/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/resolve/issue-15580/test.filter.js b/tests/webpack-test/configCases/resolve/issue-15580/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/resolve/issue-15580/test.filter.js +++ b/tests/webpack-test/configCases/resolve/issue-15580/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/resolve/only-module/test.filter.js b/tests/webpack-test/configCases/resolve/only-module/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/resolve/only-module/test.filter.js +++ b/tests/webpack-test/configCases/resolve/only-module/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/resolving/extensions-order/test.filter.js b/tests/webpack-test/configCases/resolving/extensions-order/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/resolving/extensions-order/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/resolving/prefer-absolute/test.filter.js b/tests/webpack-test/configCases/resolving/prefer-absolute/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/resolving/prefer-absolute/test.filter.js +++ b/tests/webpack-test/configCases/resolving/prefer-absolute/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/rule-set/chaining/test.filter.js b/tests/webpack-test/configCases/rule-set/chaining/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/rule-set/chaining/test.filter.js +++ b/tests/webpack-test/configCases/rule-set/chaining/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/rule-set/compiler/test.filter.js b/tests/webpack-test/configCases/rule-set/compiler/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/rule-set/compiler/test.filter.js +++ b/tests/webpack-test/configCases/rule-set/compiler/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/rule-set/custom/test.filter.js b/tests/webpack-test/configCases/rule-set/custom/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/rule-set/custom/test.filter.js +++ b/tests/webpack-test/configCases/rule-set/custom/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/rule-set/resolve-options/test.filter.js b/tests/webpack-test/configCases/rule-set/resolve-options/test.filter.js deleted file mode 100644 index 3be456dcd23c..000000000000 --- a/tests/webpack-test/configCases/rule-set/resolve-options/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return false} \ No newline at end of file diff --git a/tests/webpack-test/configCases/rule-set/simple-use-array-fn/test.filter.js b/tests/webpack-test/configCases/rule-set/simple-use-array-fn/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/rule-set/simple-use-array-fn/test.filter.js +++ b/tests/webpack-test/configCases/rule-set/simple-use-array-fn/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/rule-set/simple-use-fn-array/test.filter.js b/tests/webpack-test/configCases/rule-set/simple-use-fn-array/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/rule-set/simple-use-fn-array/test.filter.js +++ b/tests/webpack-test/configCases/rule-set/simple-use-fn-array/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/rule-set/simple/test.filter.js b/tests/webpack-test/configCases/rule-set/simple/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/rule-set/simple/test.filter.js +++ b/tests/webpack-test/configCases/rule-set/simple/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/scope-hoisting/class-naming/test.filter.js b/tests/webpack-test/configCases/scope-hoisting/class-naming/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/scope-hoisting/class-naming/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/scope-hoisting/create-dll-plugin/test.filter.js b/tests/webpack-test/configCases/scope-hoisting/create-dll-plugin/test.filter.js index 98e4afe76084..042493e42a5b 100644 --- a/tests/webpack-test/configCases/scope-hoisting/create-dll-plugin/test.filter.js +++ b/tests/webpack-test/configCases/scope-hoisting/create-dll-plugin/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/scope-hoisting/dll-plugin/test.filter.js b/tests/webpack-test/configCases/scope-hoisting/dll-plugin/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/scope-hoisting/dll-plugin/test.filter.js +++ b/tests/webpack-test/configCases/scope-hoisting/dll-plugin/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/scope-hoisting/esModule/test.filter.js b/tests/webpack-test/configCases/scope-hoisting/esModule/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/scope-hoisting/esModule/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/scope-hoisting/export-global/test.filter.js b/tests/webpack-test/configCases/scope-hoisting/export-global/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/scope-hoisting/export-global/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/scope-hoisting/harmony-pure-default/test.filter.js b/tests/webpack-test/configCases/scope-hoisting/harmony-pure-default/test.filter.js deleted file mode 100644 index 49e3e7a7ea3b..000000000000 --- a/tests/webpack-test/configCases/scope-hoisting/harmony-pure-default/test.filter.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = () => { - return true -} diff --git a/tests/webpack-test/configCases/scope-hoisting/named-modules/test.filter.js b/tests/webpack-test/configCases/scope-hoisting/named-modules/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/scope-hoisting/named-modules/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/scope-hoisting/strictThisContextOnImports/test.filter.js b/tests/webpack-test/configCases/scope-hoisting/strictThisContextOnImports/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/scope-hoisting/strictThisContextOnImports/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/sharing/consume-module-ignore-warnings/test.filter.js b/tests/webpack-test/configCases/sharing/consume-module-ignore-warnings/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/sharing/consume-module-ignore-warnings/test.filter.js +++ b/tests/webpack-test/configCases/sharing/consume-module-ignore-warnings/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/sharing/consume-multiple-versions-ignore-warnings/test.filter.js b/tests/webpack-test/configCases/sharing/consume-multiple-versions-ignore-warnings/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/sharing/consume-multiple-versions-ignore-warnings/test.filter.js +++ b/tests/webpack-test/configCases/sharing/consume-multiple-versions-ignore-warnings/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/side-effects/issue-13063/test.filter.js b/tests/webpack-test/configCases/side-effects/issue-13063/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/side-effects/issue-13063/test.filter.js +++ b/tests/webpack-test/configCases/side-effects/issue-13063/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/side-effects/side-effects-override/test.filter.js b/tests/webpack-test/configCases/side-effects/side-effects-override/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/side-effects/side-effects-override/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/side-effects/side-effects-values/test.filter.js b/tests/webpack-test/configCases/side-effects/side-effects-values/test.filter.js deleted file mode 100644 index 8e5c51af3433..000000000000 --- a/tests/webpack-test/configCases/side-effects/side-effects-values/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} diff --git a/tests/webpack-test/configCases/side-effects/url/test.filter.js b/tests/webpack-test/configCases/side-effects/url/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/side-effects/url/test.filter.js +++ b/tests/webpack-test/configCases/side-effects/url/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/simple/empty-config/test.filter.js b/tests/webpack-test/configCases/simple/empty-config/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/simple/empty-config/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/simple/multi-compiler-functions-export/test.filter.js b/tests/webpack-test/configCases/simple/multi-compiler-functions-export/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/simple/multi-compiler-functions-export/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/simple/multi-compiler-functions/test.filter.js b/tests/webpack-test/configCases/simple/multi-compiler-functions/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/simple/multi-compiler-functions/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/simple/multi-compiler/test.filter.js b/tests/webpack-test/configCases/simple/multi-compiler/test.filter.js deleted file mode 100644 index 4108ffb37d99..000000000000 --- a/tests/webpack-test/configCases/simple/multi-compiler/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => {return true} \ No newline at end of file diff --git a/tests/webpack-test/configCases/source-map/context-module-source-path/test.filter.js b/tests/webpack-test/configCases/source-map/context-module-source-path/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/source-map/context-module-source-path/test.filter.js +++ b/tests/webpack-test/configCases/source-map/context-module-source-path/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/source-map/exclude-modules-source-map/test.filter.js b/tests/webpack-test/configCases/source-map/exclude-modules-source-map/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/source-map/exclude-modules-source-map/test.filter.js +++ b/tests/webpack-test/configCases/source-map/exclude-modules-source-map/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/source-map/source-map-with-profiling-plugin/test.filter.js b/tests/webpack-test/configCases/source-map/source-map-with-profiling-plugin/test.filter.js index abd8575cbc8f..25695cfba221 100644 --- a/tests/webpack-test/configCases/source-map/source-map-with-profiling-plugin/test.filter.js +++ b/tests/webpack-test/configCases/source-map/source-map-with-profiling-plugin/test.filter.js @@ -2,4 +2,5 @@ // return !process.env.CI; // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/split-chunks/chunk-filename-delimiter/test.filter.js b/tests/webpack-test/configCases/split-chunks/chunk-filename-delimiter/test.filter.js deleted file mode 100644 index 868b3d662338..000000000000 --- a/tests/webpack-test/configCases/split-chunks/chunk-filename-delimiter/test.filter.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => true diff --git a/tests/webpack-test/configCases/target/amd-container-named/test.filter.js b/tests/webpack-test/configCases/target/amd-container-named/test.filter.js index fed7caa7b924..4a00bcefeb59 100644 --- a/tests/webpack-test/configCases/target/amd-container-named/test.filter.js +++ b/tests/webpack-test/configCases/target/amd-container-named/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false diff --git a/tests/webpack-test/configCases/target/amd-container-unnamed/test.filter.js b/tests/webpack-test/configCases/target/amd-container-unnamed/test.filter.js index fed7caa7b924..4a00bcefeb59 100644 --- a/tests/webpack-test/configCases/target/amd-container-unnamed/test.filter.js +++ b/tests/webpack-test/configCases/target/amd-container-unnamed/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false diff --git a/tests/webpack-test/configCases/target/amd-named/test.filter.js b/tests/webpack-test/configCases/target/amd-named/test.filter.js index fed7caa7b924..4a00bcefeb59 100644 --- a/tests/webpack-test/configCases/target/amd-named/test.filter.js +++ b/tests/webpack-test/configCases/target/amd-named/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false diff --git a/tests/webpack-test/configCases/target/amd-unnamed/test.filter.js b/tests/webpack-test/configCases/target/amd-unnamed/test.filter.js index fed7caa7b924..4a00bcefeb59 100644 --- a/tests/webpack-test/configCases/target/amd-unnamed/test.filter.js +++ b/tests/webpack-test/configCases/target/amd-unnamed/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false diff --git a/tests/webpack-test/configCases/target/system-named-assets-path/test.filter.js b/tests/webpack-test/configCases/target/system-named-assets-path/test.filter.js index fed7caa7b924..4a00bcefeb59 100644 --- a/tests/webpack-test/configCases/target/system-named-assets-path/test.filter.js +++ b/tests/webpack-test/configCases/target/system-named-assets-path/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false diff --git a/tests/webpack-test/configCases/target/umd-auxiliary-comments-object/test.filter.js b/tests/webpack-test/configCases/target/umd-auxiliary-comments-object/test.filter.js index fed7caa7b924..4a00bcefeb59 100644 --- a/tests/webpack-test/configCases/target/umd-auxiliary-comments-object/test.filter.js +++ b/tests/webpack-test/configCases/target/umd-auxiliary-comments-object/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false diff --git a/tests/webpack-test/configCases/target/umd-auxiliary-comments-string/test.filter.js b/tests/webpack-test/configCases/target/umd-auxiliary-comments-string/test.filter.js index fed7caa7b924..4a00bcefeb59 100644 --- a/tests/webpack-test/configCases/target/umd-auxiliary-comments-string/test.filter.js +++ b/tests/webpack-test/configCases/target/umd-auxiliary-comments-string/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false diff --git a/tests/webpack-test/configCases/types/filesystems/test.filter.js b/tests/webpack-test/configCases/types/filesystems/test.filter.js index 0ba64710234b..49790b866acb 100644 --- a/tests/webpack-test/configCases/types/filesystems/test.filter.js +++ b/tests/webpack-test/configCases/types/filesystems/test.filter.js @@ -1 +1,2 @@ +// TODO: Should create a issue for this test module.exports = () => false; diff --git a/tests/webpack-test/configCases/utils/lazy-set/test.filter.js b/tests/webpack-test/configCases/utils/lazy-set/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/utils/lazy-set/test.filter.js +++ b/tests/webpack-test/configCases/utils/lazy-set/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/wasm/export-imported-global/test.filter.js b/tests/webpack-test/configCases/wasm/export-imported-global/test.filter.js index 0609606cad2c..2c607dd79480 100644 --- a/tests/webpack-test/configCases/wasm/export-imported-global/test.filter.js +++ b/tests/webpack-test/configCases/wasm/export-imported-global/test.filter.js @@ -5,4 +5,5 @@ // return supportsWebAssembly(); // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/wasm/identical/test.filter.js b/tests/webpack-test/configCases/wasm/identical/test.filter.js index 96db10977218..fb4f99f0d1a8 100644 --- a/tests/webpack-test/configCases/wasm/identical/test.filter.js +++ b/tests/webpack-test/configCases/wasm/identical/test.filter.js @@ -4,4 +4,5 @@ // return supportsWebAssembly(); // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/wasm/import-wasm-wasm/test.filter.js b/tests/webpack-test/configCases/wasm/import-wasm-wasm/test.filter.js index 0609606cad2c..2c607dd79480 100644 --- a/tests/webpack-test/configCases/wasm/import-wasm-wasm/test.filter.js +++ b/tests/webpack-test/configCases/wasm/import-wasm-wasm/test.filter.js @@ -5,4 +5,5 @@ // return supportsWebAssembly(); // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/wasm/missing-wasm-experiment/test.filter.js b/tests/webpack-test/configCases/wasm/missing-wasm-experiment/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/wasm/missing-wasm-experiment/test.filter.js +++ b/tests/webpack-test/configCases/wasm/missing-wasm-experiment/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/wasm/wasm-in-initial-chunk-error/test.filter.js b/tests/webpack-test/configCases/wasm/wasm-in-initial-chunk-error/test.filter.js index 6174cd632dad..bb42ac8f17a9 100644 --- a/tests/webpack-test/configCases/wasm/wasm-in-initial-chunk-error/test.filter.js +++ b/tests/webpack-test/configCases/wasm/wasm-in-initial-chunk-error/test.filter.js @@ -4,4 +4,5 @@ // return supportsWebAssembly(); // }; -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/web/attach-existing/test.filter.js b/tests/webpack-test/configCases/web/attach-existing/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/web/attach-existing/test.filter.js +++ b/tests/webpack-test/configCases/web/attach-existing/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/web/node-source-future-defaults/test.filter.js b/tests/webpack-test/configCases/web/node-source-future-defaults/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/web/node-source-future-defaults/test.filter.js +++ b/tests/webpack-test/configCases/web/node-source-future-defaults/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/web/node-source-global/test.filter.js b/tests/webpack-test/configCases/web/node-source-global/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/web/node-source-global/test.filter.js +++ b/tests/webpack-test/configCases/web/node-source-global/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/web/non-js-chunks-entrypoint-runtime-chunk/test.filter.js b/tests/webpack-test/configCases/web/non-js-chunks-entrypoint-runtime-chunk/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/web/non-js-chunks-entrypoint-runtime-chunk/test.filter.js +++ b/tests/webpack-test/configCases/web/non-js-chunks-entrypoint-runtime-chunk/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/web/non-js-chunks-entrypoint/test.filter.js b/tests/webpack-test/configCases/web/non-js-chunks-entrypoint/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/web/non-js-chunks-entrypoint/test.filter.js +++ b/tests/webpack-test/configCases/web/non-js-chunks-entrypoint/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/web/unique-jsonp/test.filter.js b/tests/webpack-test/configCases/web/unique-jsonp/test.filter.js index 3be456dcd23c..042493e42a5b 100644 --- a/tests/webpack-test/configCases/web/unique-jsonp/test.filter.js +++ b/tests/webpack-test/configCases/web/unique-jsonp/test.filter.js @@ -1 +1,2 @@ -module.exports = () => {return false} \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/configCases/worker/custom-worker/test.filter.js b/tests/webpack-test/configCases/worker/custom-worker/test.filter.js deleted file mode 100644 index 7039623344e5..000000000000 --- a/tests/webpack-test/configCases/worker/custom-worker/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -var supportsWorker = require("../../../helpers/supportsWorker"); - -module.exports = function (config) { - return supportsWorker(); -}; diff --git a/tests/webpack-test/configCases/worker/issue-17489/test.filter.js b/tests/webpack-test/configCases/worker/issue-17489/test.filter.js deleted file mode 100644 index 7039623344e5..000000000000 --- a/tests/webpack-test/configCases/worker/issue-17489/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -var supportsWorker = require("../../../helpers/supportsWorker"); - -module.exports = function (config) { - return supportsWorker(); -}; diff --git a/tests/webpack-test/configCases/worker/node-worker-hmr/test.filter.js b/tests/webpack-test/configCases/worker/node-worker-hmr/test.filter.js deleted file mode 100644 index 7039623344e5..000000000000 --- a/tests/webpack-test/configCases/worker/node-worker-hmr/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -var supportsWorker = require("../../../helpers/supportsWorker"); - -module.exports = function (config) { - return supportsWorker(); -}; diff --git a/tests/webpack-test/configCases/worker/node-worker-named/test.filter.js b/tests/webpack-test/configCases/worker/node-worker-named/test.filter.js deleted file mode 100644 index 7039623344e5..000000000000 --- a/tests/webpack-test/configCases/worker/node-worker-named/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -var supportsWorker = require("../../../helpers/supportsWorker"); - -module.exports = function (config) { - return supportsWorker(); -}; diff --git a/tests/webpack-test/configCases/worker/web-worker/test.filter.js b/tests/webpack-test/configCases/worker/web-worker/test.filter.js deleted file mode 100644 index 7039623344e5..000000000000 --- a/tests/webpack-test/configCases/worker/web-worker/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -var supportsWorker = require("../../../helpers/supportsWorker"); - -module.exports = function (config) { - return supportsWorker(); -}; diff --git a/tests/webpack-test/configCases/worker/worker-contenthash/test.filter.js b/tests/webpack-test/configCases/worker/worker-contenthash/test.filter.js deleted file mode 100644 index 7039623344e5..000000000000 --- a/tests/webpack-test/configCases/worker/worker-contenthash/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -var supportsWorker = require("../../../helpers/supportsWorker"); - -module.exports = function (config) { - return supportsWorker(); -}; diff --git a/tests/webpack-test/configCases/worker/worklet/test.filter.js b/tests/webpack-test/configCases/worker/worklet/test.filter.js deleted file mode 100644 index e86410f208a1..000000000000 --- a/tests/webpack-test/configCases/worker/worklet/test.filter.js +++ /dev/null @@ -1,6 +0,0 @@ -var supportsWorker = require("../../../helpers/supportsWorker"); -var supportsOptionalChaining = require("../../../helpers/supportsOptionalChaining"); - -module.exports = function (config) { - return supportsWorker() && supportsOptionalChaining(); -}; diff --git a/tests/webpack-test/hotCases/chunks/split-chunks-webpackhot/test.filter.js b/tests/webpack-test/hotCases/chunks/split-chunks-webpackhot/test.filter.js index 5c32e24f1f81..042493e42a5b 100644 --- a/tests/webpack-test/hotCases/chunks/split-chunks-webpackhot/test.filter.js +++ b/tests/webpack-test/hotCases/chunks/split-chunks-webpackhot/test.filter.js @@ -1,3 +1,2 @@ - -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/chunks/split-chunks/test.filter.js b/tests/webpack-test/hotCases/chunks/split-chunks/test.filter.js index 5c32e24f1f81..042493e42a5b 100644 --- a/tests/webpack-test/hotCases/chunks/split-chunks/test.filter.js +++ b/tests/webpack-test/hotCases/chunks/split-chunks/test.filter.js @@ -1,3 +1,2 @@ - -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/define/issue-6962/test.filter.js b/tests/webpack-test/hotCases/define/issue-6962/test.filter.js index 5c32e24f1f81..6592ddf5b97e 100644 --- a/tests/webpack-test/hotCases/define/issue-6962/test.filter.js +++ b/tests/webpack-test/hotCases/define/issue-6962/test.filter.js @@ -1,3 +1,4 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +// TODO: This test would painic, we should not painic when build +module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/disposing/runtime-independent-filename/test.filter.js b/tests/webpack-test/hotCases/disposing/runtime-independent-filename/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/hotCases/disposing/runtime-independent-filename/test.filter.js +++ b/tests/webpack-test/hotCases/disposing/runtime-independent-filename/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/hashing/full-hash-syntax-error/test.filter.js b/tests/webpack-test/hotCases/hashing/full-hash-syntax-error/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/hotCases/hashing/full-hash-syntax-error/test.filter.js +++ b/tests/webpack-test/hotCases/hashing/full-hash-syntax-error/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/lazy-compilation/https/test.filter.js b/tests/webpack-test/hotCases/lazy-compilation/https/test.filter.js index 90e5eab00bcd..aa7f955dd668 100644 --- a/tests/webpack-test/hotCases/lazy-compilation/https/test.filter.js +++ b/tests/webpack-test/hotCases/lazy-compilation/https/test.filter.js @@ -1,2 +1,3 @@ +// TODO: Should create a issue for this test module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/lazy-compilation/simple/test.filter.js b/tests/webpack-test/hotCases/lazy-compilation/simple/test.filter.js index 90e5eab00bcd..aa7f955dd668 100644 --- a/tests/webpack-test/hotCases/lazy-compilation/simple/test.filter.js +++ b/tests/webpack-test/hotCases/lazy-compilation/simple/test.filter.js @@ -1,2 +1,3 @@ +// TODO: Should create a issue for this test module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/loader-import-module/css/test.filter.js b/tests/webpack-test/hotCases/loader-import-module/css/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/hotCases/loader-import-module/css/test.filter.js +++ b/tests/webpack-test/hotCases/loader-import-module/css/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/numeric-ids/add-remove-chunks/test.filter.js b/tests/webpack-test/hotCases/numeric-ids/add-remove-chunks/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/hotCases/numeric-ids/add-remove-chunks/test.filter.js +++ b/tests/webpack-test/hotCases/numeric-ids/add-remove-chunks/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/hotCases/runtime/root-error/test.filter.js b/tests/webpack-test/hotCases/runtime/root-error/test.filter.js index 5c32e24f1f81..6592ddf5b97e 100644 --- a/tests/webpack-test/hotCases/runtime/root-error/test.filter.js +++ b/tests/webpack-test/hotCases/runtime/root-error/test.filter.js @@ -1,3 +1,4 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +// TODO: This test would painic, we should not painic when build +module.exports = () => { return false } diff --git a/tests/webpack-test/statsCases/aggressive-splitting-entry/test.filter.js b/tests/webpack-test/statsCases/aggressive-splitting-entry/test.filter.js index 7ba279ea1ea2..aa7f955dd668 100644 --- a/tests/webpack-test/statsCases/aggressive-splitting-entry/test.filter.js +++ b/tests/webpack-test/statsCases/aggressive-splitting-entry/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/statsCases/named-chunks-plugin-async/test.filter.js b/tests/webpack-test/statsCases/named-chunks-plugin-async/test.filter.js index 7ba279ea1ea2..aa7f955dd668 100644 --- a/tests/webpack-test/statsCases/named-chunks-plugin-async/test.filter.js +++ b/tests/webpack-test/statsCases/named-chunks-plugin-async/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/statsCases/wasm-explorer-examples-sync/test.filter.js b/tests/webpack-test/statsCases/wasm-explorer-examples-sync/test.filter.js index 661b4591f5fa..d139b9c071bc 100644 --- a/tests/webpack-test/statsCases/wasm-explorer-examples-sync/test.filter.js +++ b/tests/webpack-test/statsCases/wasm-explorer-examples-sync/test.filter.js @@ -7,5 +7,6 @@ module.exports = function(config) { }; */ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +// TODO: This test would painic, we should not painic when build +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/add-defines/test.filter.js b/tests/webpack-test/watchCases/cache/add-defines/test.filter.js index cfff1fe24b8c..6dc0e0a010ce 100644 --- a/tests/webpack-test/watchCases/cache/add-defines/test.filter.js +++ b/tests/webpack-test/watchCases/cache/add-defines/test.filter.js @@ -3,5 +3,5 @@ return !(config.experiments && config.experiments.cacheUnaffected); }; */ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/asset-concat/test.filter.js b/tests/webpack-test/watchCases/cache/asset-concat/test.filter.js deleted file mode 100644 index cfff1fe24b8c..000000000000 --- a/tests/webpack-test/watchCases/cache/asset-concat/test.filter.js +++ /dev/null @@ -1,7 +0,0 @@ - -/*module.exports = function (config) { - return !(config.experiments && config.experiments.cacheUnaffected); -}; -*/ -module.exports = () => {return false} - \ No newline at end of file diff --git a/tests/webpack-test/watchCases/cache/child-compilation-cache/test.filter.js b/tests/webpack-test/watchCases/cache/child-compilation-cache/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/cache/child-compilation-cache/test.filter.js +++ b/tests/webpack-test/watchCases/cache/child-compilation-cache/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/emit-without-clean/test.filter.js b/tests/webpack-test/watchCases/cache/emit-without-clean/test.filter.js deleted file mode 100644 index 5c32e24f1f81..000000000000 --- a/tests/webpack-test/watchCases/cache/emit-without-clean/test.filter.js +++ /dev/null @@ -1,3 +0,0 @@ - -module.exports = () => {return false} - \ No newline at end of file diff --git a/tests/webpack-test/watchCases/cache/loader-import-module/test.filter.js b/tests/webpack-test/watchCases/cache/loader-import-module/test.filter.js index 5c32e24f1f81..507859202e52 100644 --- a/tests/webpack-test/watchCases/cache/loader-import-module/test.filter.js +++ b/tests/webpack-test/watchCases/cache/loader-import-module/test.filter.js @@ -1,3 +1,5 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +// FIXME: A jest worker process (pid=75037) was terminated by another process: signal=SIGABRT, exitCode=null. Operating system logs may contain more information on why this occurred. +// TODO: confirm +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/managedPath/test.filter.js b/tests/webpack-test/watchCases/cache/managedPath/test.filter.js index 5c32e24f1f81..cb2b36c59248 100644 --- a/tests/webpack-test/watchCases/cache/managedPath/test.filter.js +++ b/tests/webpack-test/watchCases/cache/managedPath/test.filter.js @@ -1,3 +1,4 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +// FIXME: A jest worker process (pid=75037) was terminated by another process: signal=SIGABRT, exitCode=null. Operating system logs may contain more information on why this occurred. +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/new-split-chunk-entry-node/test.filter.js b/tests/webpack-test/watchCases/cache/new-split-chunk-entry-node/test.filter.js index 5c32e24f1f81..19dd5accbfa2 100644 --- a/tests/webpack-test/watchCases/cache/new-split-chunk-entry-node/test.filter.js +++ b/tests/webpack-test/watchCases/cache/new-split-chunk-entry-node/test.filter.js @@ -1,3 +1,4 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } + diff --git a/tests/webpack-test/watchCases/cache/new-split-chunk-entry-web/test.filter.js b/tests/webpack-test/watchCases/cache/new-split-chunk-entry-web/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/cache/new-split-chunk-entry-web/test.filter.js +++ b/tests/webpack-test/watchCases/cache/new-split-chunk-entry-web/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/reexport-mangle/test.filter.js b/tests/webpack-test/watchCases/cache/reexport-mangle/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/cache/reexport-mangle/test.filter.js +++ b/tests/webpack-test/watchCases/cache/reexport-mangle/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/unsafe-cache-duplicates/test.filter.js b/tests/webpack-test/watchCases/cache/unsafe-cache-duplicates/test.filter.js index 5c32e24f1f81..70fe33d2a390 100644 --- a/tests/webpack-test/watchCases/cache/unsafe-cache-duplicates/test.filter.js +++ b/tests/webpack-test/watchCases/cache/unsafe-cache-duplicates/test.filter.js @@ -1,3 +1,4 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +// FIXME: timeout +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/unsafe-cache-managed-paths/test.filter.js b/tests/webpack-test/watchCases/cache/unsafe-cache-managed-paths/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/cache/unsafe-cache-managed-paths/test.filter.js +++ b/tests/webpack-test/watchCases/cache/unsafe-cache-managed-paths/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/cache/unsafe-cache/test.filter.js b/tests/webpack-test/watchCases/cache/unsafe-cache/test.filter.js deleted file mode 100644 index 5c32e24f1f81..000000000000 --- a/tests/webpack-test/watchCases/cache/unsafe-cache/test.filter.js +++ /dev/null @@ -1,3 +0,0 @@ - -module.exports = () => {return false} - \ No newline at end of file diff --git a/tests/webpack-test/watchCases/parsing/switching-harmony/test.filter.js b/tests/webpack-test/watchCases/parsing/switching-harmony/test.filter.js index 5c32e24f1f81..042493e42a5b 100644 --- a/tests/webpack-test/watchCases/parsing/switching-harmony/test.filter.js +++ b/tests/webpack-test/watchCases/parsing/switching-harmony/test.filter.js @@ -1,3 +1,2 @@ - -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/plugins/automatic-prefetch-plugin-9485/test.filter.js b/tests/webpack-test/watchCases/plugins/automatic-prefetch-plugin-9485/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/plugins/automatic-prefetch-plugin-9485/test.filter.js +++ b/tests/webpack-test/watchCases/plugins/automatic-prefetch-plugin-9485/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/plugins/automatic-prefetch-plugin/test.filter.js b/tests/webpack-test/watchCases/plugins/automatic-prefetch-plugin/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/plugins/automatic-prefetch-plugin/test.filter.js +++ b/tests/webpack-test/watchCases/plugins/automatic-prefetch-plugin/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/plugins/define-plugin/test.filter.js b/tests/webpack-test/watchCases/plugins/define-plugin/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/plugins/define-plugin/test.filter.js +++ b/tests/webpack-test/watchCases/plugins/define-plugin/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/plugins/dll-reference-plugin/test.filter.js b/tests/webpack-test/watchCases/plugins/dll-reference-plugin/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/plugins/dll-reference-plugin/test.filter.js +++ b/tests/webpack-test/watchCases/plugins/dll-reference-plugin/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/plugins/mini-css-extract-plugin/test.filter.js b/tests/webpack-test/watchCases/plugins/mini-css-extract-plugin/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/plugins/mini-css-extract-plugin/test.filter.js +++ b/tests/webpack-test/watchCases/plugins/mini-css-extract-plugin/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/plugins/profiling-plugin/test.filter.js b/tests/webpack-test/watchCases/plugins/profiling-plugin/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/plugins/profiling-plugin/test.filter.js +++ b/tests/webpack-test/watchCases/plugins/profiling-plugin/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/plugins/watch-ignore-plugin/test.filter.js b/tests/webpack-test/watchCases/plugins/watch-ignore-plugin/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/plugins/watch-ignore-plugin/test.filter.js +++ b/tests/webpack-test/watchCases/plugins/watch-ignore-plugin/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/recover-from-error/parse-failed-esm/test.filter.js b/tests/webpack-test/watchCases/recover-from-error/parse-failed-esm/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/recover-from-error/parse-failed-esm/test.filter.js +++ b/tests/webpack-test/watchCases/recover-from-error/parse-failed-esm/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/resolve/in-loader/test.filter.js b/tests/webpack-test/watchCases/resolve/in-loader/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/resolve/in-loader/test.filter.js +++ b/tests/webpack-test/watchCases/resolve/in-loader/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/runtime/static-import/test.filter.js b/tests/webpack-test/watchCases/runtime/static-import/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/runtime/static-import/test.filter.js +++ b/tests/webpack-test/watchCases/runtime/static-import/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/side-effects/issue-7400/test.filter.js b/tests/webpack-test/watchCases/side-effects/issue-7400/test.filter.js deleted file mode 100644 index 87860f28c194..000000000000 --- a/tests/webpack-test/watchCases/side-effects/issue-7400/test.filter.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = function (config) { - return !(config.experiments && config.experiments.cacheUnaffected); -}; diff --git a/tests/webpack-test/watchCases/snapshot/unable-to-snapshot/test.filter.js b/tests/webpack-test/watchCases/snapshot/unable-to-snapshot/test.filter.js index 5c32e24f1f81..aa7f955dd668 100644 --- a/tests/webpack-test/watchCases/snapshot/unable-to-snapshot/test.filter.js +++ b/tests/webpack-test/watchCases/snapshot/unable-to-snapshot/test.filter.js @@ -1,3 +1,3 @@ -module.exports = () => {return false} - \ No newline at end of file +// TODO: Should create a issue for this test +module.exports = () => { return false } diff --git a/tests/webpack-test/watchCases/wasm/caching/test.filter.js b/tests/webpack-test/watchCases/wasm/caching/test.filter.js deleted file mode 100644 index 231773496381..000000000000 --- a/tests/webpack-test/watchCases/wasm/caching/test.filter.js +++ /dev/null @@ -1,5 +0,0 @@ -var supportsWebAssembly = require("../../../helpers/supportsWebAssembly"); - -module.exports = function(config) { - return supportsWebAssembly(); -};