mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-12-06 07:34:00 +00:00
fix(ui): name trend series by the packages they count
The severity series now read "Packages with <severity> vulnerabilities", which matches the severity tiles and the snapshot counts.
This commit is contained in:
@@ -79,7 +79,7 @@ describe('TrendChart', () => {
|
||||
|
||||
expect(critical.attributes('aria-pressed')).toBe('true')
|
||||
expect(vulnerable()).toContain('with lines for critical')
|
||||
expect(wrapper.text()).toContain('Critical (highest severity)')
|
||||
expect(wrapper.text()).toContain('Packages with critical vulnerabilities')
|
||||
|
||||
await critical.trigger('click')
|
||||
await flushPromises()
|
||||
|
||||
Reference in New Issue
Block a user