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