Skip to content

Commit 9562b69

Browse files
committed
fix: fix bad merge with main in testCheckRepoInAuthList.test.js
1 parent a22db29 commit 9562b69

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

test/testCheckRepoInAuthList.test.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,12 @@ describe('Check a Repo is in the authorised list', async () => {
4040
describe('fuzzing', () => {
4141
it('should not crash on random repo names', async () => {
4242
await fc.assert(
43-
fc.asyncProperty(
44-
fc.string(),
45-
async (repoName) => {
46-
const action = new actions.Action('123', 'type', 'get', 1234, repoName);
47-
const result = await processor.exec(null, action, authList);
48-
expect(result.error).to.be.true;
49-
}
50-
),
51-
{ numRuns: 100 }
43+
fc.asyncProperty(fc.string(), async (repoName) => {
44+
const action = new actions.Action('123', 'type', 'get', 1234, repoName);
45+
const result = await processor.exec(null, action);
46+
expect(result.error).to.be.true;
47+
}),
48+
{ numRuns: 100 },
5249
);
5350
});
5451
});

0 commit comments

Comments
 (0)