Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit 3c80dfe

Browse files
author
Alexander Melnyk
committed
fix: use 0 version to test invalid verison
1 parent 6356639 commit 3c80dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lambda-powertools-layer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('with version configuration the construct', () => {
6060
test('fails with invalid version', () => {
6161
const stack = new Stack();
6262
expect(() => new LambdaPowertoolsLayer(stack, 'PowertoolsLayerBadVersion', {
63-
version: '12.222.21123',
63+
version: '0.0.0',
6464
})).toThrow(/docker exited with status 1/);
6565
});
6666

0 commit comments

Comments
 (0)