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