Skip to content

Commit

Permalink
integ test
Browse files Browse the repository at this point in the history
  • Loading branch information
comcalvi committed Aug 15, 2024
1 parent e66e5c4 commit ab81896
Showing 1 changed file with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,11 @@ integTest('cdk synth', withDefaultFixture(async (fixture) => {
},
}));

expect(fixture.template('test-1')).toEqual(expect.not.objectContaining({
Resources: {
CDKMetadata: {
Type: 'AWS::CDK::Metadata',
},
},
}));

expect(fixture.template('test-1')).toEqual(expect.not.objectContaining({
Rules: {
CheckBootstrapVersion: expect.anything(),
},
}));
expect(await fixture.cdkSynth({
options: [fixture.fullStackName('test-1')],
})).not.toEqual(expect.stringContaining(`
Rules:
CheckBootstrapVersion:`));

await fixture.cdk(['synth', fixture.fullStackName('test-2')], { verbose: false });
expect(fixture.template('test-2')).toEqual(expect.objectContaining({
Expand Down

0 comments on commit ab81896

Please sign in to comment.