worried-boots-97291
05/11/2021, 10:57 AMruntime.setMocks({
newResource(args: MockResourceArgs): { id: string | undefined; state: Record<string, any> } {
const { type, id, name } = args;
expect(type).toEqual("azure-nextgen:network/latest:Subnet");
return {
id,
state: {
...args.inputs,
name,
},
};
},
call(args: MockCallArgs) {
return args.inputs;
},
});
Running tests give:
`Program run without the Pulumi engine available; re-run using the pulumi
CLI`
Is anyone able to help with why this is?little-cartoon-10569
05/11/2021, 8:48 PM