Skip to content

Commit

Permalink
test(transformer): add just script to update transformer test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Dec 7, 2024
1 parent d2e686a commit f31d85c
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 f31d85c

Please sign in to comment.