Skip to content

Commit

Permalink
fix relevant unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Dec 5, 2023
1 parent 887cd52 commit f26d64e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Cognito fields etc. omitted.
*/
const amplifyConfig = {
aws_project_region: 'us-east-2',
aws_appsync_graphqlEndpoint: 'https://localhost/graphql',
aws_appsync_region: 'us-west-1',
aws_appsync_authenticationType: 'API_KEY',
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-amplify/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
coverageThreshold: {
global: {
branches: 85,
functions: 44,
functions: 66,
lines: 90,
statements: 91,
},
Expand Down
1 change: 1 addition & 0 deletions packages/geo/__tests__/testData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const credentials = {
};

export const awsConfig = {
aws_project_region: 'us-east-2',
geo: {
amazon_location_service: {
maps: {
Expand Down

0 comments on commit f26d64e

Please sign in to comment.