awsS3 getObject expect specific error message
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
This commit is contained in:
@@ -478,7 +478,7 @@ describe('AwsS3Publish', () => {
|
||||
|
||||
await expect(fails).rejects.toMatchObject({
|
||||
message: expect.stringMatching(
|
||||
/TechDocs metadata fetch failed; caused by Error: .*/i,
|
||||
/TechDocs metadata fetch failed; caused by Error: Unable to read stream; caused by Error: The file invalid\/triplet\/path\/techdocs_metadata.json does not exist/i,
|
||||
),
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user