GoogleCloudPlatform / flaky-service

🥐a service for collecting and tracking flaky tests
Apache License 2.0
16 stars 9 forks source link

bug: tap-parser on Github runner works incorrectly #242

Open StuartRucker opened 4 years ago

StuartRucker commented 4 years ago

When parsing this string 1..3\nok 1 Testing Box should assert obj is instance of Box\nok 2 Testing Box should assert volume of the box to be 6000\nnot ok 3 Testing Box should throw an error\n AssertionError: expected 1 to equal 2\n at Context.<anonymous> (test/Box.test.js:20:12)\n at processImmediate (internal/timers.js:456:21)\n# tests 3\n# pass 2\n# fail 1\n

The tap-parser on Github Runner (was not having this problem locally), shortens the second test case to

Testing Box should assert volume of the box to be, omitting the 6000