Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ragalie committed May 1, 2020
1 parent 2b23ac0 commit 36730c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ describe('CreateEnableCookies', () => {
expect(ctx.body).toContain('CookiePartitionPrompt');
expect(ctx.body).toContain(baseConfig.apiKey);
expect(ctx.body).toContain(shopOrigin);
expect(ctx.body).toContain(`window.location.href = "/auth?shop=${shop}"`);
expect(ctx.body).toContain(`redirectUrl: "/auth?shop=${shop}"`);
});
});
2 changes: 1 addition & 1 deletion packages/koa-shopify-auth/src/auth/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Index', () => {

await shopifyAuth(ctx, nextFunction);

expect(createRequestStorageAccess).toHaveBeenCalledWith(ctx);
expect(mockRequestStorageAccess).toHaveBeenCalledWith(ctx);
});
});

Expand Down

0 comments on commit 36730c1

Please sign in to comment.