Skip to content

Fix the integration test related to the CORS issue on the API - #4

Open
skewl84 wants to merge 1 commit into
aws-samples:typescriptfrom
skewl84:patch-1
Open

Fix the integration test related to the CORS issue on the API#4
skewl84 wants to merge 1 commit into
aws-samples:typescriptfrom
skewl84:patch-1

Conversation

@skewl84

@skewl84 skewl84 commented May 5, 2021

Copy link
Copy Markdown

Fix the integration test related to the CORS issue on the API

Description of changes:
update the axios library's default adapter

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Fix the integration test related to the CORS issue on the API

@wchaws wchaws left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To fix that just add testEnvironment: 'node', in jest.config.integration.js
See axios/axios#1754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants