Skip to content

Commit

Permalink
test: change description
Browse files Browse the repository at this point in the history
  • Loading branch information
mysteryven committed Feb 17, 2023
1 parent 2be7e07 commit 5ce9ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core/test/do-mock.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test('doMock works', async () => {
expect(incrementWith10(1)).toBe(11)
})

test('doMock can overrides last mocked result', async () => {
test('the second doMock can override the first doMock', async () => {
vi.doMock('./fixtures/increment', () => ({
increment: (num: number) => num + 10,
}))
Expand Down

0 comments on commit 5ce9ccb

Please sign in to comment.