From 5d5b1eba988a49e99547c307bb325f4e30f4711d Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Tue, 9 May 2023 23:31:33 -0400 Subject: [PATCH] Add test for #29 --- test/usage.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/usage.test.ts b/test/usage.test.ts index e1c0e6f..8d18981 100644 --- a/test/usage.test.ts +++ b/test/usage.test.ts @@ -246,6 +246,10 @@ test('Array items can be checked with `.items`', () => { expectTypeOf([1, 2, 3]).items.not.toBeString() }) +test('You can also compare arrays directly', () => { + expectTypeOf().not.toEqualTypeOf() +}) + test('Check that functions never return', () => { const thrower = () => { throw new Error('oh no')