Skip to content

Commit

Permalink
test(transformer): add just script to update transformer test fixtu…
Browse files Browse the repository at this point in the history
…res (#7713)

Add `just update-transformer-fixtures` to update transformer conformance tests with overrides (see #7688).
  • Loading branch information
overlookmotel committed Dec 8, 2024
1 parent 34a8d91 commit a6fd2de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ autoinherit:
test-transform *args='':
cargo run -p oxc_transform_conformance -- --exec {{args}}

# Update transformer conformance test fixtures, including overrides.
# `just submodules` also does this, but this runs faster. Useful when working on transformer.
update-transformer-fixtures:
cd tasks/coverage/babel && git reset --hard HEAD && git clean -f -q
node tasks/transform_conformance/update_fixtures.js

# Install wasm-pack
install-wasm:
cargo binstall wasm-pack
Expand Down

0 comments on commit a6fd2de

Please sign in to comment.