Goal: Practice using Jest to run your unit tests. Aim for 100% coverage of your code. Continue using webpack.
Choose an application you built in Intro (such as Roman Numeral, Pig Dice, or Triangle Tracker). Refactor the application to include the following:
Practice with Jest and testing is your top priority!
Sudoku is a game where players must fill in a 9 x 9 board with the numbers 1 through 9. The Sudoku board looks like this:
Create an application that checks if a completed Sudoku puzzle is “legal.” In other words, it should ensure the following rules are met:
Focus on the business logic and make sure to test the logic thoroughly before implementing any user interface logic.
Lesson 33 of 46
Last updated November 24, 2021