Skip to content

Commit 21b488d

Browse files
committed
switch to shorthand syntax
1 parent c78e159 commit 21b488d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/smoke.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ describe("Smoke test", () => {
270270
title: "My test issue",
271271
});
272272

273-
const calls = fetchcreateInstance.callHistory.callLogs;
274-
expect(calls[0].args[0]).toEqual(
273+
const [call] = fetchcreateInstance.callHistory.callLogs;
274+
expect(call.args[0]).toEqual(
275275
"https://api.github.com/repos/octocat/hello-world/issues",
276276
);
277277
},

0 commit comments

Comments
 (0)