Address PR comments

Signed-off-by: Clare Liguori <liguori@amazon.com>
This commit is contained in:
Clare Liguori
2022-11-25 11:37:16 -08:00
parent cbef804d23
commit 07d4117abb
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -4,3 +4,6 @@
---
Upgrade to AWS SDK for Javascript v3
Techdocs support for AWS S3 now requires defining the AWS region to connect to
If `techdocs.publisher.awsS3.region` is missing from the config, the AWS environment variable `AWS_REGION` will be used.
@@ -464,8 +464,8 @@ describe('AwsS3Publish', () => {
const fails = publisher.fetchTechDocsMetadata(invalidEntityName);
await expect(fails).rejects.toMatchObject({
message: expect.stringMatching(
'TechDocs metadata fetch failed; caused by Error: The file invalid/triplet/path/techdocs_metadata.json does not exist',
message: expect.stringContaining(
'The file invalid/triplet/path/techdocs_metadata.json does not exist',
),
});
});