Skip to content

Commit 836005b

Browse files
committed
Update unit test
1 parent 1d26ada commit 836005b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/__tests__/AwsClients/Pinpoint/getInAppMessages-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Pinpoint - getInAppMessages', () => {
3838
authorization: expect.stringContaining('Signature'),
3939
'content-type': 'application/json',
4040
host: 'pinpoint.us-east-1.amazonaws.com',
41-
'x-amz-date': expect.anything(),
41+
'x-amz-date': expect.stringMatching(/^\d{8}T\d{6}Z/),
4242
'x-amz-user-agent': expect.stringContaining('aws-amplify'),
4343
}),
4444
});

0 commit comments

Comments
 (0)