Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 05a8460

Browse files
committed
fix: differnt OS have different error messages
1 parent b6327a5 commit 05a8460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lambda-powertools-typescript-layer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('with version configuration the construct', () => {
6666
expect(() => new LambdaPowertoolsLayer(stack, 'PowertoolsLayerBadVersion', {
6767
runtimeFamily: RuntimeFamily.NODEJS,
6868
version: '12.222.21123',
69-
})).toThrow(/docker exited with status 1/);
69+
})).toThrow();
7070
});
7171

7272

@@ -82,4 +82,4 @@ describe('with version configuration the construct', () => {
8282
expect(args).toEqual('');
8383
});
8484

85-
});
85+
});

0 commit comments

Comments
 (0)