Skip to content

Commit

Permalink
wip fix webhook throttle test
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-carvalho committed Jan 16, 2024
1 parent 3b2c2de commit e274fbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('Webhook registration', () => {

// eslint-disable-next-line no-warning-comments
// TODO: Remove tests once we have a better solution to parallel afterAuth calls
it('logs throttling errors', async () => {
it.only('logs throttling errors', async () => {
// GIVEN
const shopify = shopifyApp(
testConfig({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function registerWebhooksFactory({api, logger}: BasicParams) {
return response;
})
.catch((error) => {
console.log('error', error);
if (
error.response?.errors?.find(
(responseError: {extensions: {code: string}}) =>
Expand Down

0 comments on commit e274fbe

Please sign in to comment.