Building A Test Runner in Jest - A How-To Guide
Too Long; Didn't Read
Building A Test Runner in Jest - A How-To Guide to Building a Test Runner. Ruairidh Wynne-McHardy explains how jest works under the hood. This will be a small series of posts on each part, but you can skip ahead and see the full repo here. Building our test runner will be building the actual test runner. This simply accepts a test with a title, and a callback, and if there are no errors, the test passes! If an error is thrown, then we deem the test to have failed.