fix(審查流程): 修正 bot 跳過、JSON 驗證與排除比對邊界
This commit is contained in:
@@ -87,6 +87,10 @@ describe('parseLocation', () => {
|
||||
assert.equal(parseLocation('app/preflight.test.js'), null);
|
||||
});
|
||||
|
||||
it('returns null when the parsed line number is zero', () => {
|
||||
assert.equal(parseLocation('app/preflight.js:0'), null);
|
||||
});
|
||||
|
||||
it('returns null when multiple files are listed', () => {
|
||||
assert.equal(parseLocation('Dockerfile, app/git.js, app/gitea.js'), null);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user