Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): support importing from ES modules in spec tests (#4136)
This adds support for importing from ES modules (w/ the `.mjs` extension) in spec tests by ensuring that 1. files with such an extension are passed to the jest preprocessor (which then runs them through typescript) 2. our typescript helper for string-to-strong transpilation will emit `.mjs` files instead of just dropping them on the floor Together these changes will allow running specs which import `.mjs` files. See #3251 for the original issue report
- Loading branch information