You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The message shown on ERR_INVALID_URL errors changed slightly in
Node 16. This commit updates two AWSURL unit tests to pass across
supported Node.js versions.
Fixes: #9703
Co-authored-by: Colin Ihrig <colihrig@amazon.com>
d10-cc
pushed a commit
to d10-cc/amplify-appsync-simulator
that referenced
this issue
Jan 6, 2023
The message shown on ERR_INVALID_URL errors changed slightly in
Node 16. This commit updates two AWSURL unit tests to pass across
supported Node.js versions.
Fixes: aws-amplify/amplify-cli#9703
Co-authored-by: Colin Ihrig <colihrig@amazon.com>
Before opening, please confirm:
How did you install the Amplify CLI?
git clone the source
If applicable, what version of Node.js are you using?
v16.13.1
Amplify CLI Version
master
What operating system are you using?
Amazon Linux 2
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
None
Amplify Categories
api
Amplify Commands
Not applicable
Describe the bug
yarn test
fails with "AWSURL parse Should reject an invalid URL 1" in the tests within amplify-appsync-simulator:Expected behavior
yarn test should complete successfully
Reproduction steps
yarn setup-dev
yarn test
GraphQL schema(s)
# Put schemas below this line
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: