You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my .vue templates the source map appears to be missing; breakpoints do not work in IntelliJ or vscode, and in Chrome's debugger the processed source code is shown instead of the original.
On my .js templates, processed by babel-jest everything works as expected in the IDEs and Chrome debugger.
At the end of my files processed by babel-jest I have a base64 encoded source map embedded in the file e.g.:
Is it really bug in vue-jest? I tried to debug a bit and found that vue-jest process function generate and return map object to the jest itself. And jest create a map file in temp folder like this temp\jest\jest-transform-cache-aeed2fdb8d874223d633677bd2030000-eb1806becba3a17708d164f9003ab9fe\f4\
@aldarund I don't think it's possible for external tools to find/use the ones that are sent to jest. (Note that all debugging tools including Chrome are affected). Inline source maps are a best of both worlds as Jest is able to use them directly (no need to pass them in), and all other common debuggers can read them.
Both babel-jest and ts-jest produce inline source maps; I'm not aware of another transformer that passes the map directly to jest.
On my .vue templates the source map appears to be missing; breakpoints do not work in IntelliJ or vscode, and in Chrome's debugger the processed source code is shown instead of the original.
On my .js templates, processed by babel-jest everything works as expected in the IDEs and Chrome debugger.
At the end of my files processed by babel-jest I have a base64 encoded source map embedded in the file e.g.:
No source map appears in my processed .vue files
My jest configuration (from package.json):
jest: v22.4.4
vue-jest: 2.6.0
source-map: 0.5.7
The text was updated successfully, but these errors were encountered: