Skip to content

Commit

Permalink
chore(chai): fix spelling (#1946)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstrema committed Sep 1, 2022
1 parent 5182489 commit 71f1ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/integrations/snapshot/chai.ts
Expand Up @@ -33,7 +33,7 @@ const getErrorString = (expected: () => void | Error, promise: string | undefine
return getErrorMessage(e)
}

throw new Error('snapshot function didn\'t threw')
throw new Error('snapshot function didn\'t throw')
}

export const SnapshotPlugin: ChaiPlugin = (chai, utils) => {
Expand Down

0 comments on commit 71f1ca7

Please sign in to comment.