Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4ad87f2

Browse files
author
Mark Jackson
committedDec 9, 2020
removing duplicate unit test
1 parent 0567ff2 commit 4ad87f2

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed
 

‎packages/@aws-cdk/aws-ecr/test/test.repository.ts

-22
Original file line numberDiff line numberDiff line change
@@ -81,28 +81,6 @@ export = {
8181
test.done();
8282
},
8383

84-
'repository creation with tag immutablility is disabled'(test: Test) {
85-
// GIVEN
86-
const stack = new cdk.Stack();
87-
88-
// WHEN
89-
new ecr.Repository(stack, 'Repo', { imageTagImmutable: false });
90-
91-
// THEN
92-
// TODO: ditto
93-
expect(stack).toMatch({
94-
Resources: {
95-
Repo02AC86CF: {
96-
Type: 'AWS::ECR::Repository',
97-
DeletionPolicy: 'Retain',
98-
UpdateReplacePolicy: 'Retain',
99-
},
100-
},
101-
});
102-
103-
test.done();
104-
},
105-
10684
'tag-based lifecycle policy'(test: Test) {
10785
// GIVEN
10886
const stack = new cdk.Stack();

0 commit comments

Comments
 (0)
Please sign in to comment.