Skip to content

Commit

Permalink
docs(expect): correct code block mistake (#3304)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyx-jay committed May 5, 2023
1 parent 04eaba4 commit 77d071a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/expect.md
Expand Up @@ -1208,7 +1208,7 @@ If the value in the error message is too truncated, you can increase [chaiConfig
name: 'Empire',
count: 1,
}
expect(basket).toEqual({
expect(variety).toEqual({
name: expect.stringContaining('Emp'),
count: 1,
})
Expand All @@ -1233,7 +1233,7 @@ If the value in the error message is too truncated, you can increase [chaiConfig
name: 'Empire',
count: 1,
}
expect(basket).toEqual({
expect(variety).toEqual({
name: expect.stringMatching(/re$/),
count: 1,
})
Expand Down

0 comments on commit 77d071a

Please sign in to comment.