Skip to content

Commit 6a4edd5

Browse files
committed
chore: fix format
1 parent 0efc40d commit 6a4edd5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/processors/testCheckRepoInAuthList.test.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ describe('Check a Repo is in the authorised list', async () => {
2020
const action = new actions.Action('123', 'type', 'get', 1234, 'thisproject/repo-is-ok');
2121
const result = await processor.exec(null, action);
2222
expect(result.error).to.be.false;
23-
expect(result.steps[0].logs[0]).to.eq('checkRepoInAuthorisedList - repo thisproject/repo-is-ok is in the authorisedList');
23+
expect(result.steps[0].logs[0]).to.eq(
24+
'checkRepoInAuthorisedList - repo thisproject/repo-is-ok is in the authorisedList',
25+
);
2426
});
2527

2628
it('rejects the action if repository not in the db', async () => {
@@ -29,6 +31,8 @@ describe('Check a Repo is in the authorised list', async () => {
2931
const action = new actions.Action('123', 'type', 'get', 1234, 'thisproject/repo-is-not-ok');
3032
const result = await processor.exec(null, action);
3133
expect(result.error).to.be.true;
32-
expect(result.steps[0].logs[0]).to.eq('checkRepoInAuthorisedList - repo thisproject/repo-is-not-ok is not in the authorised whitelist, ending');
34+
expect(result.steps[0].logs[0]).to.eq(
35+
'checkRepoInAuthorisedList - repo thisproject/repo-is-not-ok is not in the authorised whitelist, ending',
36+
);
3337
});
3438
});

0 commit comments

Comments
 (0)