mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Ask for detailed news outlines and keep checked severities
Outlines move to geometry version 4: the news server now follows Natural Earth's own border vertices instead of a coarse grid, and the new version is a new cache entry. A severity a reviewer set (severityBy 'label') is kept as such instead of reading as the rules'.
This commit is contained in:
1 parent
60fad38c3f
commit
ee3593cfbd
4 files changed
+21
-5
No files matched your search
@@ -600,3 +600,17 @@ test('the hotspots answer carries the window it was counted over', () => {
|
||||
null,
|
||||
);
|
||||
});
|
||||
|
||||
test('a checked severity keeps saying who set it', () => {
|
||||
const page = normalizeFeedPayload({
|
||||
reports: ['label', 'model', 'guess'].map((by, i) => ({
|
||||
...report(`r${i}`, '2026-10-28T09:00:00Z'),
|
||||
severity: 2,
|
||||
severityBy: by,
|
||||
})),
|
||||
});
|
||||
assert.deepEqual(
|
||||
page.reports.map((r) => r.severityBy),
|
||||
['label', 'model', 'rules'],
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user