Skip to content

Commit

Permalink
Merge branch 'develop' into PWA-3233
Browse files Browse the repository at this point in the history
  • Loading branch information
glo82145 authored Apr 1, 2024
2 parents 184c87a + d8f7e84 commit bbe4705
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions CREATE_RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Here are the steps you need to follow to create PWA Studio release notes. :

**PART 2: Docs repo tasks** (`AdobeDocs/commerce-pwa-studio`):


1. Clone the `AdobeDocs/commerce-pwa-studio` repo.
2. Create a `release` branch from `main`.
3. Replace auto-generated docs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ exports[`returns a map with expected keys and values 1`] = `
Map {
"MUTATION_QUEUE" => "mutationQueue",
"RETRY" => "retry",
"AUTH" => "auth",
"GQL_CACHE" => "gqlCache",
"STORE" => "store",
"ERROR" => "error",
Expand Down
4 changes: 0 additions & 4 deletions packages/peregrine/lib/Apollo/links/__tests__/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ jest.mock('@apollo/client', () => ({
__esModule: true,
createHttpLink: jest.fn(() => 'http')
}));
jest.mock('@magento/peregrine/lib/Apollo/links/authLink', () => ({
__esModule: true,
default: jest.fn(() => 'auth')
}));
jest.mock('@magento/peregrine/lib/Apollo/links/errorLink', () => ({
__esModule: true,
default: jest.fn(() => 'error')
Expand Down
3 changes: 0 additions & 3 deletions packages/peregrine/lib/Apollo/links/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { createHttpLink } from '@apollo/client';

import createAuthLink from '@magento/peregrine/lib/Apollo/links/authLink';
import createErrorLink from '@magento/peregrine/lib/Apollo/links/errorLink';
import createGqlCacheLink from '@magento/peregrine/lib/Apollo/links/gqlCacheLink';
import createMutationQueueLink from '@magento/peregrine/lib/Apollo/links/mutationQueueLink';
Expand Down Expand Up @@ -32,7 +31,6 @@ export const customFetchToShrinkQuery = (uri, options) => {
};

const getLinks = apiBase => {
const authLink = createAuthLink();
const storeLink = createStoreLink();
const errorLink = createErrorLink();
const retryLink = createRetryLink();
Expand All @@ -54,7 +52,6 @@ const getLinks = apiBase => {
const links = new Map()
.set('MUTATION_QUEUE', mutationQueueLink)
.set('RETRY', retryLink)
.set('AUTH', authLink)
.set('GQL_CACHE', gqlCacheLink)
.set('STORE', storeLink)
.set('ERROR', errorLink)
Expand Down

0 comments on commit bbe4705

Please # to comment.