e2e-test: ignore AWS SDK v2 deprecation message

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-02-14 10:38:02 +01:00
parent c3c928db92
commit 869d658d2e
+11
View File
@@ -490,6 +490,17 @@ async function testBackendStart(appDir: string, ...args: string[]) {
!l.includes('Update this package.json to use a subpath') &&
!l.includes(
'(Use `node --trace-deprecation ...` to show where the warning was created)',
) &&
// These 4 are all for the AWS SDK v2 deprecation
!l.includes(
'The AWS SDK for JavaScript (v2) will be put into maintenance mode',
) &&
!l.includes(
'Please migrate your code to use AWS SDK for JavaScript',
) &&
!l.includes('check the migration guide at https://a.co/7PzMCcy') &&
!l.includes(
'(Use `node --trace-warnings ...` to show where the warning was created)',
),
).length !== 0
);