Skip to content

Commit 67a25d9

Browse files
committed
Remove toEmitMatchedValue matcher
1 parent 94ee0db commit 67a25d9

File tree

3 files changed

+0
-76
lines changed

3 files changed

+0
-76
lines changed

src/testing/matchers/index.d.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ interface ApolloCustomMatchers<R = void, T = {}> {
7373
(options?: TakeOptions) => Promise<R>
7474
: { error: "matcher needs to be called on an ObservableStream instance" };
7575

76-
/** @deprecated Use `toEmitTypedValue` instead */
77-
toEmitMatchedValue: T extends ObservableStream<any> ?
78-
(value: any, options?: TakeOptions) => Promise<R>
79-
: { error: "matcher needs to be called on an ObservableStream instance" };
80-
8176
toEmitTypedValue: T extends ObservableStream<infer TResult> ?
8277
(
8378
expected: FilterUnserializableProperties<TResult>,

src/testing/matchers/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { toBeGarbageCollected } from "./toBeGarbageCollected.js";
55
import { toComplete } from "./toComplete.js";
66
import { toEmitAnything } from "./toEmitAnything.js";
77
import { toEmitError } from "./toEmitError.js";
8-
import { toEmitMatchedValue } from "./toEmitMatchedValue.js";
98
import { toEmitNext } from "./toEmitNext.js";
109
import { toEmitTypedValue } from "./toEmitTypedValue.js";
1110
import { toHaveSuspenseCacheEntryUsing } from "./toHaveSuspenseCacheEntryUsing.js";
@@ -16,7 +15,6 @@ expect.extend({
1615
toComplete,
1716
toEmitAnything,
1817
toEmitError,
19-
toEmitMatchedValue,
2018
toEmitNext,
2119
toEmitTypedValue,
2220
toBeDisposed,

src/testing/matchers/toEmitMatchedValue.ts

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)