fix(repos): 完善 commit log 订阅接口。
This commit is contained in:
@@ -63,7 +63,10 @@ describe('ReposService', () => {
|
||||
});
|
||||
describe('listLogs', () => {
|
||||
it('should be return logs', async () => {
|
||||
const result = await service.listLogs({ projectId: '1' });
|
||||
const result = await service.listLogs({
|
||||
project: getTest1Project(),
|
||||
branch: 'master',
|
||||
});
|
||||
expect(result).toBeDefined();
|
||||
}, 20_000);
|
||||
});
|
||||
@@ -71,7 +74,7 @@ describe('ReposService', () => {
|
||||
it('should be return branches', async () => {
|
||||
const result = await service.listBranches({ projectId: '1' });
|
||||
expect(result).toBeDefined();
|
||||
}, 10_000);
|
||||
}, 20_000);
|
||||
});
|
||||
|
||||
describe.skip('checkout', () => {
|
||||
|
Reference in New Issue
Block a user