Goal: Practice using Jest to run your unit tests. Aim for 100% coverage of your code. Continue using webpack.
before
and after
blocks?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.
Project Euler is an archive of math problems that can be solved using programming languages such as JavaScript. The difficulty of these problems ranges from fairly simple to extremely challenging. Try solving a few Project Euler problems, taking care to fully test your code. You do not need to implement user interface logic to solve these problems; instead, focus on business logic and unit testing.
Lesson 33 of 46
Last updated more than 3 months ago.