diff --git a/support-lambdas/support-post-deployment-tests/packages/cdk/lib/support-frontend-post-deployment-tests-lambda.test.ts b/support-lambdas/support-post-deployment-tests/packages/cdk/lib/support-frontend-post-deployment-tests-lambda.test.ts index fd9509d9de..5d0a95a988 100644 --- a/support-lambdas/support-post-deployment-tests/packages/cdk/lib/support-frontend-post-deployment-tests-lambda.test.ts +++ b/support-lambdas/support-post-deployment-tests/packages/cdk/lib/support-frontend-post-deployment-tests-lambda.test.ts @@ -1,6 +1,6 @@ import { App } from 'aws-cdk-lib'; import { Template } from 'aws-cdk-lib/assertions'; -import { SupportFrontendPostDeploymentTestsLambda } from './support-frontend-post-deployment-tests-lambda'; +import { LoggingLevel,SupportFrontendPostDeploymentTestsLambda } from './support-frontend-post-deployment-tests-lambda'; describe('The SupportFrontendPostDeploymentTestsLambda stack', () => { it('matches the snapshot', () => { @@ -15,6 +15,7 @@ describe('The SupportFrontendPostDeploymentTestsLambda stack', () => { region: 'eu-west-1', }, }, + LoggingLevel.DEBUG, ); const prodStack = new SupportFrontendPostDeploymentTestsLambda( app, @@ -26,6 +27,7 @@ describe('The SupportFrontendPostDeploymentTestsLambda stack', () => { region: 'eu-west-1', }, }, + LoggingLevel.INFO, ); expect(Template.fromStack(codeStack).toJSON()).toMatchSnapshot(); diff --git a/support-lambdas/support-post-deployment-tests/packages/cdk/tsconfig.json b/support-lambdas/support-post-deployment-tests/packages/cdk/tsconfig.json index c494d63375..1d60bad570 100644 --- a/support-lambdas/support-post-deployment-tests/packages/cdk/tsconfig.json +++ b/support-lambdas/support-post-deployment-tests/packages/cdk/tsconfig.json @@ -24,5 +24,5 @@ }, "include": ["lib/**/*", "bin/**/*"], "exclude": ["node_modules", "cdk.out", "dist", "lib/**/*.test.ts", - "lib/**/__snapshots__/**"] + "lib/**/__snapshots__/**","/lib/*.test.ts"] }