Commit ed94bf25 authored by Lukas Eipert's avatar Lukas Eipert

Prettify two more spec files

We need to prettify those in order to prevent a red master
parent a223014a
......@@ -310,11 +310,12 @@ describe('updateListWipLimit', () => {
return actions
.updateListWipLimit({ state: { activeId }, getters }, { maxIssueCount, listId: activeId })
.then(() => {
expect(
axios.put,
).toHaveBeenCalledWith(`${boardsStoreEE.store.state.endpoints.listsEndpoint}/${activeId}`, {
list: { max_issue_count: maxIssueCount },
});
expect(axios.put).toHaveBeenCalledWith(
`${boardsStoreEE.store.state.endpoints.listsEndpoint}/${activeId}`,
{
list: { max_issue_count: maxIssueCount },
},
);
});
});
......
......@@ -85,11 +85,12 @@ describe('Reset pipeline minutes button', () => {
return axios.waitForAll().then(() => {
expect(axiosSpy).toHaveBeenCalled();
expect(
$toast.show,
).toHaveBeenCalledWith('There was an error resetting user pipeline minutes.', {
type: 'error',
});
expect($toast.show).toHaveBeenCalledWith(
'There was an error resetting user pipeline minutes.',
{
type: 'error',
},
);
});
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment