Closed jhampson-dbre closed 3 years ago
I had the same problem. I got around it by commenting/deleting that specific test in game.test.js as well as deleting the game.test.js.snap file
I got the same problem.
I found the solution, so created a pull request githubtraining/using-github-actions-for-ci-template#15.
With the fix, my workflow of this course could pass the test.
Same issue here.
Thank you @dzeyelid for the pull request! ✨ I have merged the pull request. If anyone could confirm here that they are seeing different results than before, that would be greatly appreciated.
In the meantime, I'll keep an eye out for any other unexpected errors or bugs. Thanks all for contributing!
Bug Report
Current behavior In step 5 Fix the test, the tests still fail after applying the fix, due to another test failure
Reproduction Steps to reproduce the behavior in the course:
Expected behavior After committing the suggested fix in step 5, all tests should pass.
Possible solution I don't have much Node experience, but the failing test explains 'Test functions cannot both take a 'done' callback and return something. Either use a 'done' callback, or return a promise.'
Additional context My learning lab repo where I'm experience the error. https://github.com/jhampson-dbre/github-actions-for-ci/pull/2
There is also a report of the same error in the forums: https://github.community/t/github-actions-for-ci-stuck-on-step-5/182063