From 71f1ca790e71de316862494c33bacbe50cedc1a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Marche?= <35939574+Marr11317@users.noreply.github.com> Date: Thu, 1 Sep 2022 12:33:24 +0200 Subject: [PATCH] chore(chai): fix spelling (#1946) --- packages/vitest/src/integrations/snapshot/chai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {