From a4e1731db48f57d94b76d5719d64cd1fc74c2e1c Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Wed, 6 May 2020 09:04:48 +0200 Subject: [PATCH] Fix css path in test --- js/test/chartviewmodel.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/test/chartviewmodel.test.js b/js/test/chartviewmodel.test.js index 7206880..ad9a307 100644 --- a/js/test/chartviewmodel.test.js +++ b/js/test/chartviewmodel.test.js @@ -125,7 +125,7 @@ describe('ChartViewModel tests', () => { // when vm.chartSetup(); // then - expect(uUtils.addCss).toHaveBeenCalledWith('css/chartist.min.css', 'chartist_css'); + expect(uUtils.addCss).toHaveBeenCalledWith('css/dist/chartist.css', 'chartist_css'); expect(Chartist.Line).toHaveBeenCalledWith(chartEl, jasmine.any(Object), jasmine.any(Object)); expect(mockChart.on).toHaveBeenCalledWith('created', jasmine.any(Function)); });