Skip to content

Commit 4af7359

Browse files
committed
test(javascript): run what the minifier writes for swc's execution tests
swc's exec.rs tests and its fixtures with an expected.stdout now run in the stdout suite under their own options and webpack's: 497 and 135 whose input terser's sandbox runs. 24 outputs print otherwise, each as terser's own does, so an output fails only where the reference's does not. A broken scope phase fails 18 runs here, unused 72.
1 parent afcb738 commit 4af7359

2 files changed

Lines changed: 270 additions & 74 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,11 @@ jobs:
294294
- language: js
295295
submodules: test/external/test262-cases
296296
script: test:test262-parser
297-
# Runs what webpack's minifier writes for each terser case that
298-
# states its stdout. A leg of its own, as it installs phases into
297+
# Runs what webpack's minifier writes for each terser and swc test
298+
# that states its stdout. A leg of its own, as it installs phases into
299299
# terser's modules that the js-minify leg must not share.
300300
- language: js-minify-stdout
301-
submodules: test/external/terser
301+
submodules: test/external/terser test/external/swc
302302
script: test:js-minify-stdout
303303
# Minifies every source of each JS corpus with the published minifier
304304
# and with webpack's own, and requires the same bytes back.

0 commit comments

Comments
 (0)