From 711fdcc54d68c2b2c1992c7cfbdf0d0bd6be0f4d Mon Sep 17 00:00:00 2001 From: Grey Date: Sun, 29 Oct 2023 06:50:30 -0400 Subject: [PATCH] Remove `.toBeArray()` from String (#669) --- website/docs/matchers/String.mdx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/website/docs/matchers/String.mdx b/website/docs/matchers/String.mdx index e5aed1b9..8f53463e 100644 --- a/website/docs/matchers/String.mdx +++ b/website/docs/matchers/String.mdx @@ -2,18 +2,6 @@ import { TestFile } from '../../src/components/CustomSandpack'; # String -### .toBeArray() - -Use `.toBeArray` when checking if a value is an `Array`. - - - {`test('passes when value is an array', () => { - expect([]).toBeArray(); - expect([1]).toBeArray(); - expect(true).not.toBeArray(); -});`} - - ### .toBeString() Use `.toBeString` when checking if a value is a `String`.