Skip to content

Commit baf2a98

Browse files
committed
chore(servicecatalogappregistry): explicit feature flags to produce a consistent template during tests
1 parent c2d8976 commit baf2a98

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

packages/@aws-cdk/aws-servicecatalogappregistry/test/application.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ describe('Application', () => {
66
let stack: cdk.Stack;
77

88
beforeEach(() => {
9-
stack = new cdk.Stack();
9+
const app = new cdk.App({
10+
context: {
11+
'@aws-cdk/core:newStyleStackSynthesis': false,
12+
},
13+
});
14+
stack = new cdk.Stack(app);
1015
});
1116

1217
test('default application creation', () => {

packages/@aws-cdk/aws-servicecatalogappregistry/test/attribute-group.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ describe('Attribute Group', () => {
66
let stack: cdk.Stack;
77

88
beforeEach(() => {
9-
stack = new cdk.Stack();
9+
const app = new cdk.App({
10+
context: {
11+
'@aws-cdk/core:newStyleStackSynthesis': false,
12+
},
13+
});
14+
stack = new cdk.Stack(app);
1015
});
1116

1217
test('default attribute group creation', () => {

0 commit comments

Comments
 (0)