Skip to content

Commit c76c54f

Browse files
committed
test(transformer): add just script to update transformer test fixtures
1 parent 5675ecc commit c76c54f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ autoinherit:
135135
test-transform *args='':
136136
cargo run -p oxc_transform_conformance -- --exec {{args}}
137137

138+
# Update transformer conformance test fixtures, including overrides.
139+
# `just submodules` also does this, but this runs faster. Useful when working on transformer.
140+
update-transformer-fixtures:
141+
cd tasks/coverage/babel && git reset --hard HEAD && git clean -f -q
142+
node tasks/transform_conformance/update_fixtures.js
143+
138144
# Install wasm-pack
139145
install-wasm:
140146
cargo binstall wasm-pack

0 commit comments

Comments
 (0)