awsS3 getObject expect match without regex

Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com>
This commit is contained in:
Manuel Stein
2022-07-24 19:19:29 +03:00
parent f28ad77d11
commit ce7219ff87
@@ -478,7 +478,7 @@ describe('AwsS3Publish', () => {
await expect(fails).rejects.toMatchObject({
message: expect.stringMatching(
/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,
'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',
),
});
});