12345678910111213 |
- import { expect as expectCDK, matchTemplate, MatchStyle } from '@aws-cdk/assert';
- import * as cdk from '@aws-cdk/core';
- import * as Infrastracture from '../lib/infrastructure-stack';
- test('Empty Stack', () => {
- const app = new cdk.App();
- // WHEN
- const stack = new Infrastracture.InfrastructureStack(app, 'MyTestStack');
- // THEN
- expectCDK(stack).to(matchTemplate({
- "Resources": {}
- }, MatchStyle.EXACT))
- });
|