mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
jest
This commit is contained in:
@@ -135,7 +135,7 @@ test('Check HTML content after chart creation', () => {
|
|||||||
expect(barGroups.length).toBe(3);
|
expect(barGroups.length).toBe(3);
|
||||||
|
|
||||||
const pendingBars = Array.from(bars).filter(bar =>
|
const pendingBars = Array.from(bars).filter(bar =>
|
||||||
bar.parentNode.getAttribute('fill') === '#808080'
|
bar.parentNode.getAttribute('fill') === '#C7CACE'
|
||||||
);
|
);
|
||||||
expect(pendingBars.length).toBe(labels.length);
|
expect(pendingBars.length).toBe(labels.length);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user