aws-lambda-test-utils icon indicating copy to clipboard operation
aws-lambda-test-utils copied to clipboard

issues with running coverage

Open Jbarget opened this issue 9 years ago • 1 comments

Im having some really strange behaviour which i think is related a race condition. Without changing anything in the code if i run npm test or npm run coverage sometimes it will ignore some tests and give me an operator fail

screen shot 2017-04-12 at 12 49 31

and sometimes it works all fine:

screen shot 2017-04-12 at 12 49 41

any ideas?

Jbarget avatar Apr 12 '17 11:04 Jbarget

just noticed that if you comment out all the tests in mockContext.test.js then the tests run smoothly every time....

Jbarget avatar Sep 27 '17 11:09 Jbarget