Analyze server-resolved document reviews with revision checks
This commit is contained in:
@@ -37,3 +37,10 @@ test('changed quantity, requirements and announcement invalidate reviewed source
|
||||
test('legacy positional prices are not silently assigned to potentially changed source rows',()=>{
|
||||
assert.deepEqual(restoreBidPrices({fiyatlar:{0:'15',1:'900'}}),{});
|
||||
});
|
||||
|
||||
test('review revision changes invalidate the preparation source even with identical extracted rows',()=>{
|
||||
const tender={ikn:'2026/1',items:[]};
|
||||
const first={sourceReview:{humanReview:{documentId:'doc',revision:1,textHash:'same'}}};
|
||||
const second={sourceReview:{humanReview:{documentId:'doc',revision:2,textHash:'same'}}};
|
||||
assert.notEqual(bidSourceSnapshot(tender,first),bidSourceSnapshot(tender,second));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user