mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Remove duplicate toBeInstanceOf type declaration for Expect (#20844)
This commit is contained in:
8
packages/bun-types/test.d.ts
vendored
8
packages/bun-types/test.d.ts
vendored
@@ -1184,14 +1184,6 @@ declare module "bun:test" {
|
||||
* expect(null).toBeInstanceOf(Array); // fail
|
||||
*/
|
||||
toBeInstanceOf(value: unknown): void;
|
||||
/**
|
||||
* Asserts that the expected value is an instance of value
|
||||
*
|
||||
* @example
|
||||
* expect([]).toBeInstanceOf(Array);
|
||||
* expect(null).toBeInstanceOf(Array); // fail
|
||||
*/
|
||||
toBeInstanceOf(value: unknown): void;
|
||||
/**
|
||||
* Asserts that a value is `undefined`.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user