File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 66 *
77 */
88
9- import type { Test } from '@vitest/runner'
109import type { MockInstance } from '@vitest/spy'
1110import type { Formatter } from 'tinyrainbow'
1211import type { AsymmetricMatcher } from './jest-asymmetric-matchers'
@@ -83,7 +82,6 @@ export interface MatcherState {
8382 }
8483 soft ?: boolean
8584 poll ?: boolean
86- task ?: Readonly < Test >
8785}
8886
8987export interface SyncExpectationResult {
Original file line number Diff line number Diff line change 11import type { ExpectStatic , PromisifyAssertion , Tester } from '@vitest/expect'
22import type { Plugin as PrettyFormatPlugin } from '@vitest/pretty-format'
3+ import type { Test } from '@vitest/runner'
34import type { SnapshotState } from '@vitest/snapshot'
45import type { BenchmarkResult } from '../runtime/types/benchmark'
56import type { UserConsoleLog } from './general'
@@ -25,6 +26,7 @@ declare module '@vitest/expect' {
2526 interface MatcherState {
2627 environment : string
2728 snapshotState : SnapshotState
29+ task ?: Readonly < Test >
2830 }
2931
3032 interface ExpectPollOptions {
You can’t perform that action at this time.
0 commit comments