import * as cdk from 'aws-cdk-lib' ; import * as Cognito from '../lib/cognito-stack' ; test ( 'Empty Stack' , ( ) => { const app = new cdk . App ( ) ; const stack = new Cognito . CognitoStack ( app , 'MyTestStack' ) ; const actual = app . synth ( ) . getStackArtifact ( stack . artifactId ) . template ; expect ( actual . Resources ?? { } ) . toEqual ( { } ) ; } ) ;