Skip to content

Commit

Permalink
Add @apollo/client/link/persisted-queries to the exports test
Browse files Browse the repository at this point in the history
  • Loading branch information
hwillson committed Aug 21, 2020
1 parent df92e1c commit f3e268e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/__tests__/__snapshots__/exports.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,15 @@ Array [
]
`;

exports[`exports of public entry points @apollo/client/link/persisted-queries 1`] = `
Array [
"VERSION",
"createPersistedQueryLink",
"defaultGenerateHash",
"defaultOptions",
]
`;

exports[`exports of public entry points @apollo/client/link/retry 1`] = `
Array [
"RetryLink",
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import * as linkContext from "../link/context";
import * as linkCore from "../link/core";
import * as linkError from "../link/error";
import * as linkHTTP from "../link/http";
import * as linkPersistedQueries from "../link/persisted-queries";
import * as linkRetry from "../link/retry";
import * as linkSchema from "../link/schema";
import * as linkUtils from "../link/utils";
Expand Down Expand Up @@ -47,6 +48,7 @@ describe('exports of public entry points', () => {
check("@apollo/client/link/core", linkCore);
check("@apollo/client/link/error", linkError);
check("@apollo/client/link/http", linkHTTP);
check("@apollo/client/link/persisted-queries", linkPersistedQueries);
check("@apollo/client/link/retry", linkRetry);
check("@apollo/client/link/schema", linkSchema);
check("@apollo/client/link/utils", linkUtils);
Expand Down

0 comments on commit f3e268e

Please sign in to comment.