Skip to content
Snippets Groups Projects

Frontend Course Manager Perspective

29 files
+ 2650
45
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
2
@@ -61,7 +61,7 @@ describe('The App', () => {
expect($router.push).toBeCalledWith('/');
// Click home
wrapper.vm.homePage();
wrapper.vm.home_page();
expect($router.push).toHaveBeenCalledTimes(2);
expect($router.push.mock.calls[1]).toEqual([{ name: 'login' }]);
});
@@ -75,7 +75,7 @@ describe('The App', () => {
expect($router.push).toBeCalledWith('/');
// Click home
wrapper.vm.homePage();
wrapper.vm.home_page();
expect($router.push).toHaveBeenCalledTimes(2);
expect($router.push.mock.calls[1]).toEqual([{ name: 'dash' }]);
});
Loading