Skip to content

Commit c1e0897

Browse files
authored
docs: fix provider stateHandlers example (#1513)
1 parent 1732a0f commit c1e0897

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/provider.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ If you have defined any `state`s in your consumer tests, the `Verifier` can put
120120
const opts = {
121121
...
122122
stateHandlers: {
123-
[null]: () => {
123+
"null": () => {
124124
// This is the "default" state handler, when no state is given
125-
}
125+
},
126126
"Has no animals": () => {
127127
animalRepository.clear()
128128
return Promise.resolve(`Animals removed from the db`)

0 commit comments

Comments
 (0)