Skip to content

Commit

Permalink
Update exports to include react/internal entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Dec 19, 2023
1 parent f9be782 commit 5bdb941
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/__tests__/__snapshots__/exports.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,17 @@ Array [
]
`;

exports[`exports of public entry points @apollo/client/react/internal 1`] = `
Array [
"InternalQueryReference",
"getSuspenseCache",
"getWrappedPromise",
"unwrapQueryRef",
"updateWrappedQueryRef",
"wrapQueryRef",
]
`;

exports[`exports of public entry points @apollo/client/react/parser 1`] = `
Array [
"DocumentType",
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import * as reactComponents from "../react/components";
import * as reactContext from "../react/context";
import * as reactHOC from "../react/hoc";
import * as reactHooks from "../react/hooks";
import * as reactInternal from "../react/internal";
import * as reactParser from "../react/parser";
import * as reactSSR from "../react/ssr";
import * as testing from "../testing";
Expand Down Expand Up @@ -71,6 +72,7 @@ describe("exports of public entry points", () => {
check("@apollo/client/react/context", reactContext);
check("@apollo/client/react/hoc", reactHOC);
check("@apollo/client/react/hooks", reactHooks);
check("@apollo/client/react/internal", reactInternal);
check("@apollo/client/react/parser", reactParser);
check("@apollo/client/react/ssr", reactSSR);
check("@apollo/client/testing", testing);
Expand Down

0 comments on commit 5bdb941

Please sign in to comment.