packages/rspack-test-tools/README.md
Rspack's internal test tools, don't use it directly in your project, it may contain breaking change in minor & patch release right now.
Test tools for rspack.
We expect to reuse the tests for Rspack wasm target as many as possible and we have managed to do it partially. Currently wasm tests should be run with an environment variable WASM=1 under the following limitations:
maxWorkers to 1, maxConcurrency to 1 and disable concurrent mode to avoid flaky failures.forceExit is needed.Also check all the skipped testcases with !process.env.WASM in test.filter.jss and the skipped testsuits in rstest.config.tss. They are divided into two categories:
See https://rspack.rs for details.
Rspack is MIT licensed.