We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8baf486 commit 1eb3612Copy full SHA for 1eb3612
modules/runners/lambdas/runners/src/aws/runners.test.ts
@@ -142,7 +142,7 @@ describe('list instances', () => {
142
const noInstances: AWS.EC2.DescribeInstancesResult = {
143
Reservations: undefined,
144
};
145
- mockDescribeInstances.promise.mockReturnValueOnce(noInstances).mockReturnValueOnce(noInstances);
+ mockDescribeInstances.promise.mockReturnValue(noInstances);
146
const resp = await listEC2Runners();
147
expect(resp.length).toBe(0);
148
});
0 commit comments