rough-window-15889
04/28/2022, 9:26 PMlittle-cartoon-10569
04/28/2022, 9:36 PMit('should exist', async function s3Bucket(): Promise<any> {
return expect(bucketUnderTest.bucket.id.promise()).to.eventually.exist;
});
rough-window-15889
04/28/2022, 9:38 PMlittle-cartoon-10569
04/28/2022, 9:39 PMrough-window-15889
04/28/2022, 9:58 PMlittle-cartoon-10569
04/29/2022, 3:45 AMcall()
function.pulumi.runtime.setMocks({
newResource: (type: string, name: string, inputs: any): { id: string, state: any } => {
// ... snip ...
},
call: (token: string, args: any, _provider?: string) => {
switch (token) {
case "aws:index/getAvailabilityZones:getAvailabilityZones":
return {
names: ["ap-southeast-2a", "ap-southeast-2b", "ap-southeast-2c"],
zoneIds: ["southeast2a", "southeast2b", "southeast2c"],
};
}
return args;
},
});
rough-window-15889
04/29/2022, 4:52 AM