README.md

turbopack-tests

An extracted crate to perform snapshot tests on turbopack.

Testing

It's possible to only run the snapshot tests using nextest's filter expressions:

cargo nextest run -E 'test(snapshot)'

The filter supports any substring, and only test names which contain that substring will run.

Updating Snapshot

If you've made a change that requires many snapshot updates, you can automatically update all outputs using the UPDATE command line env:

UPDATE=1 cargo nextest run -E 'test(snapshot)'

Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.

turbopack/crates/turbopack-tests/README.md · vercel/next.js | Docs MD