swc/crates/swc_ecma_transforms_module/tests
Donny/강동윤 0aafa75fef
feat(es/testing): Use __swc_snapshots__ for test! macro (#8191)
**Description:**

This implements something similar to `__snapshots__` of `jest`. Instead of storing the expected result as a string literal, we now store it in `$crate/tests/__swc_snapshots__/$path_to_test__$test_name.js`.

**Related issue:**

 - Closes #4509
2023-10-30 10:38:59 +09:00
..
__swc_snapshots__/tests feat(es/testing): Use __swc_snapshots__ for test! macro (#8191) 2023-10-30 10:38:59 +09:00
fixture feat(es/testing): Support babel-like fixture testing officially (#8190) 2023-10-30 07:24:49 +09:00
fixture-manual/issue-4730 fix(es/module): Revert #7901 (#7906) 2023-09-01 14:24:50 +09:00
paths fix(es/module): Revert #7901 (#7906) 2023-09-01 14:24:50 +09:00
amd.rs feat(es/testing): Use __swc_snapshots__ for test! macro (#8191) 2023-10-30 10:38:59 +09:00
common_js.rs feat(es/testing): Use __swc_snapshots__ for test! macro (#8191) 2023-10-30 10:38:59 +09:00
path_node.rs feat(es/module): Add an option to make resolver fully resolve index.js (#7945) 2023-09-14 07:17:23 +00:00
system_js.rs feat(es/testing): Use __swc_snapshots__ for test! macro (#8191) 2023-10-30 10:38:59 +09:00
umd.rs feat(es/testing): Add an option to test sourcemap (#6079) 2022-10-07 05:52:22 +00:00