From adda7b9dfd9de3ea5acf4293f9552bcb0b26acc7 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 19 Aug 2025 10:01:56 +0200 Subject: [PATCH] docs: Fix variable typo in `expect.md` (#8452) --- docs/api/expect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/expect.md b/docs/api/expect.md index 2c1e18ae7..4df79eb95 100644 --- a/docs/api/expect.md +++ b/docs/api/expect.md @@ -528,7 +528,7 @@ Differences from [`.toEqual`](#toequal): - Keys with `undefined` properties are checked. e.g. `{a: undefined, b: 2}` does not match `{b: 2}` when using `.toStrictEqual`. - Array sparseness is checked. e.g. `[, 1]` does not match `[undefined, 1]` when using `.toStrictEqual`. -- Object types are checked to be equal. e.g. A class instance with fields `a` and` b` will not equal a literal object with fields `a` and `b`. +- Object types are checked to be equal. e.g. A class instance with fields `a` and `b` will not equal a literal object with fields `a` and `b`. ```ts import { expect, test } from 'vitest' -- 2.51.2