binygal / jest-runner-flowtype

Jest runner for running flowtype tests using jest as a platform
26 stars 10 forks source link

Runner ignores errors in test files #8

Closed slightlytyler closed 6 years ago

slightlytyler commented 6 years ago

When checked via the runner I get no errors but when running flow directly I get the correct errors

slightlytyler commented 6 years ago

Looks like fileNameMatcher is invalid given a firstErrorLine like : src/features/image/components/ImageList/ImageList.test.js:152

It doesn't account for filenames like .test.js?

binygal commented 6 years ago

Thank you for the fast PR

binygal commented 6 years ago

@slightlytyler version 0.0.6 fixes this issue.