diff --git a/tests/test-lambda.ts b/tests/test-lambda.ts index 869d2f6..e5fd4d8 100644 --- a/tests/test-lambda.ts +++ b/tests/test-lambda.ts @@ -21,6 +21,7 @@ test( 'Test image not found', async () => { await handler( animatedGifLambdaEvent, testResponseStream ); expect( testResponseStream.metadata.statusCode ).toBe( 404 ); + expect( testResponseStream.contentType ).toBe( 'text/html' ); } ); /**