azz / jest-runner-tsc

🃏A Jest runner for the TypeScript compiler
MIT License
178 stars 12 forks source link

fix: prevent duplicate errors #18

Closed tom-sherman closed 5 years ago

tom-sherman commented 5 years ago

Fixes #17

This works by filtering any errors that were emitted from a file different to the current file being tested.

I couldn't work out a good way to test this so if this requires tests it would be great if you could point me in the write direction on it.

azz commented 5 years ago

Hey, so sorry your PRs flew under my radar as they happened just before I went on holiday.