b0aecccaa2
### What? Updates `run-test.js` to allow running individual test cases inside a test file. ### Why? So that we can dramatically increase Turbopack's test coverage. Turbopack has implemented most (but not all) necessary features from the webpack bundles. But a single failing test case would prevent us from running any case inside a test file. With case filtering, we're able to run the cases we know will pass and prevent regressions on those. ### How? Case filtering is only exposed via the `NEXT_EXTERNAL_TESTS_FILTERS` ENV, which points to a JSON file containing a map of test files with the test cases inside those files that are known to pass. The known-passing test cases can be updated after Turbopack's daily integration test run by running `test/build-turbopack-tests-manifest.js`, which will update the `test/turbopack-tests-manifest.json` manifest. Closes WEB-1640 Co-authored-by: Tobias Koppers <1365881+sokra@users.noreply.github.com> |
||
---|---|---|
.. | ||
actions | ||
DISCUSSION_TEMPLATE | ||
ISSUE_TEMPLATE | ||
workflows | ||
.kodiak.toml | ||
CODEOWNERS | ||
invalid-link.md | ||
invalid-reproduction.md | ||
labeler.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
pull_request_template.md | ||
simplify-reproduction.md | ||
verify-canary.md |