diff --git a/code/lib/test/src/expect.ts b/code/lib/test/src/expect.ts index d277380a3596..5a3fb334afd4 100644 --- a/code/lib/test/src/expect.ts +++ b/code/lib/test/src/expect.ts @@ -15,13 +15,12 @@ import { setState, } from '@vitest/expect'; import * as matchers from '@testing-library/jest-dom/matchers'; -import type { TestingLibraryMatchers } from '@testing-library/jest-dom/types/matchers'; import type { PromisifyObject } from './utils'; // We only expose the jest compatible API for now export interface Assertion extends PromisifyObject>, - TestingLibraryMatchers, Promise> { + matchers.TestingLibraryMatchers, Promise> { toHaveBeenCalledOnce(): Promise; toSatisfy(matcher: (value: E) => boolean, message?: string): Promise; resolves: Assertion;