Skip to content

Commit c0f4382

Browse files
committed
chore: lint
1 parent 6487839 commit c0f4382

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

test/client.spec.js

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,7 @@ describe("client", () => {
213213
assert.deepEqual(mocks.calls.mock.calls[0].arguments[1], args);
214214
assert.equal(mocks.core.setOutput.mock.calls[0].arguments[0], "ok");
215215
assert.equal(mocks.core.setOutput.mock.calls[0].arguments[1], true);
216-
assert.equal(
217-
mocks.core.setOutput.mock.calls[1].arguments[0],
218-
"response",
219-
);
216+
assert.equal(mocks.core.setOutput.mock.calls[1].arguments[0], "response");
220217
assert.equal(
221218
mocks.core.setOutput.mock.calls[1].arguments[1],
222219
JSON.stringify(response),
@@ -275,10 +272,7 @@ describe("client", () => {
275272
assert.deepEqual(mocks.calls.mock.calls[0].arguments[1], args);
276273
assert.equal(mocks.core.setOutput.mock.calls[0].arguments[0], "ok");
277274
assert.equal(mocks.core.setOutput.mock.calls[0].arguments[1], true);
278-
assert.equal(
279-
mocks.core.setOutput.mock.calls[1].arguments[0],
280-
"response",
281-
);
275+
assert.equal(mocks.core.setOutput.mock.calls[1].arguments[0], "response");
282276
assert.equal(
283277
mocks.core.setOutput.mock.calls[1].arguments[1],
284278
JSON.stringify(response),
@@ -318,10 +312,7 @@ describe("client", () => {
318312
assert.deepEqual(mocks.calls.mock.calls[0].arguments[1], args);
319313
assert.equal(mocks.core.setOutput.mock.calls[0].arguments[0], "ok");
320314
assert.equal(mocks.core.setOutput.mock.calls[0].arguments[1], true);
321-
assert.equal(
322-
mocks.core.setOutput.mock.calls[1].arguments[0],
323-
"response",
324-
);
315+
assert.equal(mocks.core.setOutput.mock.calls[1].arguments[0], "response");
325316
assert.equal(
326317
mocks.core.setOutput.mock.calls[1].arguments[1],
327318
JSON.stringify(response),
@@ -353,7 +344,10 @@ describe("client", () => {
353344
token: "xoxb-example",
354345
payload: `"text": "hello"`,
355346
};
356-
mocks.calls._rejectsWith = errors.requestErrorWithOriginal(response, true);
347+
mocks.calls._rejectsWith = errors.requestErrorWithOriginal(
348+
response,
349+
true,
350+
);
357351
try {
358352
await send(mocks.core);
359353
assert.fail("Expected an error but none was found");

0 commit comments

Comments
 (0)