Closed devTeaa closed 1 year ago
You can play this version of the game here
Built with commit ddee989ffb216d8a04ecf97cb207222aa828e9d5
fix the merge conflicts and the comment I left
@itaditya I have fixed as per comment above
@itaditya seems like there is syntax errors on current master branch, can you check it out?
yeah there is some issue, but for now I'm just checking if your added test cases passes. Currently you are using react-testing-library which is outdated, now you need to use @testing-library/react.
it('should save the score to local storage', () => { ... })
it('should have 10 sprite tiles at the begining of the game', () => { ... })
both of these test throw random error on Game.test.js, any idea why?
Also how to trigger componentDidMount() with @testing-library/react?
Pull Request description
Fixes #58, sorry @itaditya the old PR got nuked accidentally by me
Checklist for proper Pull Request
npm run format
on the code.