Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7 from unmock/add-jest-runner
Browse files Browse the repository at this point in the history
Add unmock-jest-runner
  • Loading branch information
Carolyn Stransky authored Feb 16, 2020
2 parents dcbe3eb + 448581f commit a685474
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion introduction/step3.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ In order to define multiple responses, continue adding to `unmock.nock`.

## Fuzz testing

Fuzzy wuzzy wuz a bear, and fuzz testing is when you do the same thing multiple times with slight variations. Unmock's `runner` will take care of that for you - it runs your test several times with slightly different results depending on how you initialize the state. Which leads us to...
Fuzzy wuzzy wuz a bear, and fuzz testing is when you do the same thing multiple times with slight variations. Unmock's `runner` will take care of that for you - it runs your test several times (the default is 20) with slightly different results. For this tutorial, we will be importing a Jest configuration of the `runner` from a package called `unmock-jest-runner`.

The results you get for your tests depend on how you initialize the state. Which leads us to...

## Initializing mocks

Expand Down

0 comments on commit a685474

Please sign in to comment.