mirror of
https://github.com/aljazceru/ThunderCloud.git
synced 2025-12-17 06:14:20 +01:00
14 lines
429 B
TypeScript
14 lines
429 B
TypeScript
import { expect as expectCDK, matchTemplate, MatchStyle } from '@aws-cdk/assert';
|
|
import * as cdk from '@aws-cdk/core';
|
|
import * as Thundercloud from '../lib/thundercloud-stack';
|
|
|
|
test('Empty Stack', () => {
|
|
const app = new cdk.App();
|
|
// WHEN
|
|
const stack = new Thundercloud.ThundercloudStack(app, 'MyTestStack');
|
|
// THEN
|
|
expectCDK(stack).to(matchTemplate({
|
|
"Resources": {}
|
|
}, MatchStyle.EXACT))
|
|
});
|