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.
interfaces
1 parent ccf638e commit fcc44c3Copy full SHA for fcc44c3
packages/toolkit/src/tests/utils/CustomMatchers.d.ts
@@ -1,3 +1,4 @@
1
+/* eslint-disable @typescript-eslint/consistent-type-definitions */
2
import type { Assertion, AsymmetricMatchersContaining } from 'vitest'
3
4
interface CustomMatchers<R = unknown> {
packages/toolkit/vitest.setup.ts
@@ -26,6 +26,7 @@ afterAll(() => {
26
27
declare global {
28
namespace jest {
29
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
30
interface Matchers<R> {
31
toHaveConsoleOutput(expectedOutput: string): Promise<R>
32
toMatchSequence(...matchers: Array<(arg: any) => boolean>): R
0 commit comments