swc/crates/swc_ecma_minifier/scripts/test.sh
Donny/강동윤 a7f0e84bbf
feat(es/minifier): Drop useless assignments (#3528)
testing:
 - Allow skipping diff using an environment variable `DIFF`.

swc_ecma_minifier:
 - `pure`: Drop useless assignemnts.
2022-02-11 08:43:48 +00:00

9 lines
136 B
Bash
Executable File

#!/usr/bin/env bash
export DIFF=0
export UPDATE=1
cargo test -p swc_ecma_minifier -p swc
# find ../swc/tests/ -type f -empty -delete