Open itaditya opened 4 years ago
Currently the user flow
Completing the game -> Render result page -> Enter username -> Save username and score to localStorage.
is not tested. Using jest and @testing-library/react tests have to be added for this flow.
Test should go in src/tests/Game.test.js
src/tests/Game.test.js
I'll try woking on this one
Currently the user flow
Completing the game -> Render result page -> Enter username -> Save username and score to localStorage.
is not tested. Using jest and @testing-library/react tests have to be added for this flow.
Test should go in
src/tests/Game.test.js