Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Feb 12, 2024
1 parent 26ecf81 commit 70944b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ describe('generateClient', () => {
expect(() => {
client.models.Todo.create({ name: 'todo' });
}).toThrow(
'Client is not generate. This is likely due to `Amplify.configure()` not being called prior to `generateClient()` or because the configuration passed to `Amplify.configure()` is missing GraphQL provider configuration.',
'Client could not be generated. This is likely due to `Amplify.configure()` not being called prior to `generateClient()` or because the configuration passed to `Amplify.configure()` is missing GraphQL provider configuration.',
);
});
});
Expand Down Expand Up @@ -182,7 +182,7 @@ describe('generateClient', () => {
expect(() => {
client.enums.Status.values()
}).toThrow(
'Client is not generate. This is likely due to `Amplify.configure()` not being called prior to `generateClient()` or because the configuration passed to `Amplify.configure()` is missing GraphQL provider configuration.',
'Client could not be generated. This is likely due to `Amplify.configure()` not being called prior to `generateClient()` or because the configuration passed to `Amplify.configure()` is missing GraphQL provider configuration.',
);
});
});
Expand Down

0 comments on commit 70944b3

Please sign in to comment.