Commit 0d402275 authored by Tom Quirk's avatar Tom Quirk

Fix createComponent uses with object parameter

parent 8c66149b
......@@ -651,7 +651,7 @@ describe('Design management index page', () => {
describe('when navigating', () => {
it('ensures fullscreen layout is not applied', () => {
createComponent(true);
createComponent({ loading: true });
expect(mockPageEl.classList.remove).toHaveBeenCalledTimes(1);
expect(mockPageEl.classList.remove).toHaveBeenCalledWith(...DESIGN_DETAIL_LAYOUT_CLASSLIST);
......@@ -661,7 +661,7 @@ describe('Design management index page', () => {
router.replace({
path: '/designs',
});
createComponent(true);
createComponent({ loading: true });
return wrapper.vm.$nextTick().then(() => {
expect(scrollIntoViewMock).toHaveBeenCalled();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment