mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-28 09:59:59 -04:00
fixing console errors
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
var svg = d3.select("#totalMessageChart");
|
||||
var width = chartContainer.clientWidth;
|
||||
var height = 64;
|
||||
console.log('update')
|
||||
|
||||
svg.attr("width", width).attr("height", height);
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ test('SVG bars are created and animated correctly', done => {
|
||||
done();
|
||||
}, 1500); // Duration of the animation + buffer time
|
||||
});
|
||||
console.log('update')
|
||||
|
||||
test('Creates chart on DOMContentLoaded', () => {
|
||||
const createTotalMessagesChartSpy = jest.spyOn(window, 'createTotalMessagesChart');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user