VitorLuizC / ts-jest-resolver

A resolver for jest that uses the same strategy as TS when resolving files with JavaScript extensions (".js", ".jsx", ".cjs" and ".mjs"). It works pretty well with ts-jest or babel with @babel/preset-typescript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

provide some benchmarks against default resolver

sibelius opened this issue · comments

is this faster than default resolver ?

No, it uses the default resolver under the hood.

This resolver is only required to fix the usage of .js extension in TS modules, which is a common practice when transpiling to ESM for browsers.