hannoeru / jest-esbuild

A Jest esbuild transformer
MIT License
18 stars 7 forks source link

fix: breakpoints not stopping when debugging .ts tests #9

Closed orzarchi closed 1 year ago

orzarchi commented 1 year ago

Description

When debugging jest tests written in typescript, the debugger does not stop in breakpoints. To fix that, we have to include the filename inside the sourcemap as well as inline the map.

Additional context


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following