We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e336b25 commit 75e24f8Copy full SHA for 75e24f8
1 file changed
test-types/top-level-expect-namespace.test.ts
@@ -104,7 +104,7 @@ expectError(expect(1).toBeLessThanOrEqual());
104
expectError(expect(1).toBeLessThanOrEqual('10'));
105
106
expectType<void>(expect(() => {}).toBeInstanceOf(Function));
107
-expectError(expect(() => {}).toBeInstanceOf('function'));
+expectError(expect(() => {}).toBeInstanceOf());
108
109
expectType<void>(expect(Number('ten')).toBeNaN());
110
expectError(expect(Number('10')).not.toBeNaN(true));
0 commit comments