Fix css path in test
This commit is contained in:
parent
806bcc036d
commit
a4e1731db4
@ -125,7 +125,7 @@ describe('ChartViewModel tests', () => {
|
|||||||
// when
|
// when
|
||||||
vm.chartSetup();
|
vm.chartSetup();
|
||||||
// then
|
// 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(Chartist.Line).toHaveBeenCalledWith(chartEl, jasmine.any(Object), jasmine.any(Object));
|
||||||
expect(mockChart.on).toHaveBeenCalledWith('created', jasmine.any(Function));
|
expect(mockChart.on).toHaveBeenCalledWith('created', jasmine.any(Function));
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user