Skip to content

Commit

Permalink
Fix ESLint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LAKSHMIRPILLAI committed Sep 29, 2023
1 parent 10ba0cd commit 2cf2a37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand All @@ -15,6 +15,7 @@ describe('The SupportFrontendPostDeploymentTestsLambda stack', () => {
region: 'eu-west-1',
},
},
LoggingLevel.DEBUG,
);
const prodStack = new SupportFrontendPostDeploymentTestsLambda(
app,
Expand All @@ -26,6 +27,7 @@ describe('The SupportFrontendPostDeploymentTestsLambda stack', () => {
region: 'eu-west-1',
},
},
LoggingLevel.INFO,
);

expect(Template.fromStack(codeStack).toJSON()).toMatchSnapshot();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
},
"include": ["lib/**/*", "bin/**/*"],
"exclude": ["node_modules", "cdk.out", "dist", "lib/**/*.test.ts",
"lib/**/__snapshots__/**"]
"lib/**/__snapshots__/**","/lib/*.test.ts"]
}

0 comments on commit 2cf2a37

Please sign in to comment.