Skip to content

Commit b9739e8

Browse files
committed
fix: can't test invalid URLs here as not mocked and not real db
1 parent bf81066 commit b9739e8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/db/mongo/repo.test.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,5 @@ describe('MongoDB', () => {
6565
repoCollection.findOne.calledWith({ url: { $eq: 'https://github.com/finos/git-proxy.git' } }),
6666
).to.be.true;
6767
});
68-
69-
it('should handle invalid URLs gracefully', async () => {
70-
const result = await getRepoByUrl('invalid-url');
71-
expect(result).to.be.null;
72-
});
7368
});
7469
});

0 commit comments

Comments
 (0)