From a6fd2def3409738917761619602e658b9756a1ae Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Sun, 8 Dec 2024 01:41:39 +0000 Subject: [PATCH] test(transformer): add `just` script to update transformer test fixtures (#7713) Add `just update-transformer-fixtures` to update transformer conformance tests with overrides (see #7688). --- justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/justfile b/justfile index 373ac182b1d3f..b16ee68d67654 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