diff --git a/packages/vitest/src/integrations/snapshot/chai.ts b/packages/vitest/src/integrations/snapshot/chai.ts index 1fb14f045bd3..9bec0c4ad478 100644 --- a/packages/vitest/src/integrations/snapshot/chai.ts +++ b/packages/vitest/src/integrations/snapshot/chai.ts @@ -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) => {