From f31d85ce9e1129a990ff854b848811aad15c4f1f Mon Sep 17 00:00:00 2001 From: overlookmotel Date: Fri, 6 Dec 2024 21:14:32 +0000 Subject: [PATCH] test(transformer): add `just` script to update transformer test fixtures --- justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/justfile b/justfile index 373ac182b1d3f7..b16ee68d676542 100755 --- a/justfile +++ b/justfile @@ -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