Skip to content

Commit de4e9bc

Browse files
authored
Add react/internal entry point and update existing imports (#11439)
1 parent ee7f76c commit de4e9bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/testing/matchers/toBeDisposed.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { MatcherFunction } from "expect";
2-
import type { QueryReference } from "../../react/cache/QueryReference.js";
2+
import type { QueryReference } from "../../react/internal/index.js";
33
import {
44
InternalQueryReference,
55
unwrapQueryRef,
6-
} from "../../react/cache/QueryReference.js";
6+
} from "../../react/internal/index.js";
77

88
function isQueryRef(queryRef: unknown): queryRef is QueryReference {
99
try {

src/testing/matchers/toHaveSuspenseCacheEntryUsing.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import type { DocumentNode } from "graphql";
33
import type { OperationVariables } from "../../core/index.js";
44
import { ApolloClient } from "../../core/index.js";
55
import { canonicalStringify } from "../../cache/index.js";
6-
import { getSuspenseCache } from "../../react/cache/index.js";
7-
import type { CacheKey } from "../../react/cache/types.js";
6+
import { getSuspenseCache } from "../../react/internal/index.js";
7+
import type { CacheKey } from "../../react/internal/index.js";
88

99
export const toHaveSuspenseCacheEntryUsing: MatcherFunction<
1010
[

0 commit comments

Comments
 (0)