Have for each construct at least a very simple test
For example matching a snapshot:
https://github.com/pepperize/cdk-github/blob/main/test/github-custom-resource.test.ts
describe("GithubCustomResource",()=>{it("Should match snapshot",()=>{// Givenconststack=newStack();newGithubCustomResource(stack,"CR",{// ...});// Whenconsttemplate=Template.fromStack(stack);// Thenexpect(template).toMatchSnapshot();});});
Have for each construct at least a very simple test
For example matching a snapshot:
https://github.com/pepperize/cdk-github/blob/main/test/github-custom-resource.test.ts