nicolo-ribaudo / jest-light-runner

A Jest runner that runs tests directly in bare Node.js, without virtualizing the environment.
MIT License
227 stars 24 forks source link

Error locations are already converted from URLs to paths by Jest #55

Closed nicolo-ribaudo closed 2 years ago

nicolo-ribaudo commented 2 years ago

Fixes https://github.com/babel/babel/pull/14867#issuecomment-1221608605

@fisker Do you use inline snapshots in Prettier, and if yes did you ever had problems with the -u Jest options not working?

fisker commented 2 years ago

Do you use inline snapshots in Prettier

Not sure , didn't notice that.

fisker commented 2 years ago

Looks like this is the only one https://github.com/prettier/prettier/blob/f33ae9f5833f453114338ceb9f263fcf13f122b9/tests/integration/__tests__/format.js#L60

liuxingbaoyu commented 2 years ago

When I was debugging jest 29.0 just now, I found that snapshotState._inlineSnapshots is always empty.