swc/crates/swc
2023-03-08 06:52:40 +00:00
..
benches feat(es/helper): Use require to load polyfills and helpers in Script (#6778) 2023-01-16 16:07:40 +00:00
examples doc(es): Fix example (#6743) 2023-01-03 10:22: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 perf(es/utils): Introduce NodeIgnoringSpan (#7030) 2023-03-08 06:49:41 +00:00
tests fix(es): Allow any kind of input source maps if it's enabled (#7002) 2023-03-06 07:12:54 +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-03-08 06:52:40 +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.