swc/crates/swc
2023-06-29 14:15:31 +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 feat(es/codegen): Support preamble (#7551) 2023-06-20 14:35:46 +09:00
tests feat(es/minifier): Inline constants even if they are exported (#7583) 2023-06-27 02:14:09 +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-06-29 14:15:31 +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.