Skip to content

Commit

Permalink
additional expect.assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Noyes committed Dec 12, 2022
1 parent f199384 commit f25109b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/__tests__/Util-test.ts
Expand Up @@ -66,6 +66,7 @@ describe('Util', () => {
region: 'us-west-1',
});
expect(cognitoClient).toBeTruthy();
expect.assertions(1);
});

test('middlewareArgs helper should merge headers into request object', async () => {
Expand All @@ -79,6 +80,7 @@ describe('Util', () => {
});
expect(args.request.headers['test-header']).toEqual('1234');
expect(args.request.headers['cache-control']).toEqual('no-store');
expect.assertions(2);
});

test('headers should be added by middleware on GetIdCommand', async () => {
Expand Down

0 comments on commit f25109b

Please sign in to comment.