swc/crates/swc
2023-08-07 22:20:08 +00:00
..
benches feat(es/codegen): Support preamble (#7551) 2023-06-20 14:35:46 +09:00
examples fix(es): Accept parse option for minify() (#7543) 2023-06-19 06:34:44 +00:00
scripts perf(common): Fix perf bug of sourcemap for inputs with multi-byte chars (#6523) 2022-11-28 07:51:36 +00:00
src fix(plugin/runner): Use fs cache properly (#7748) 2023-08-03 22:20:51 +00:00
tests fix(es/codegen): Don't strip necessary escape characters (#7687) 2023-08-07 22:17:59 +00:00
.gitignore fix(es/decorators): Make legacy decorator identical to tsc (#4496) 2022-05-03 07:48:09 +00:00
Cargo.toml chore: Publish crates 2023-08-07 22:20:08 +00:00
README.md test(es): Add an execution test system (#3994) 2022-03-13 07:47:39 +00:00

Testing

tests/exec

All files named exec.js or exec.ts will be executed, and the test system will ensure that original source code and transpiled source code print the same output to the console.

You can use ./scripts/check-issues.sh to automatically unignore fixed tests.