From f7629cf6c7814f953aaf0a1f6ffbb8fea70b4bf6 Mon Sep 17 00:00:00 2001 From: ogerly Date: Mon, 24 Oct 2022 12:53:52 +0200 Subject: [PATCH] test2 for layouts/DashboardLayout.spec.js --- frontend/src/App.spec.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/App.spec.js b/frontend/src/App.spec.js index b338481e6..496dfd7f5 100644 --- a/frontend/src/App.spec.js +++ b/frontend/src/App.spec.js @@ -1,6 +1,5 @@ import { mount, RouterLinkStub } from '@vue/test-utils' import App from './App' -import flushPromises from 'flush-promises' const localVue = global.localVue const mockStoreCommit = jest.fn() @@ -51,7 +50,6 @@ describe('App', () => { describe('route requires authorization', () => { beforeEach(async () => { - await flushPromises() mocks.$route.meta.requiresAuth = true wrapper = Wrapper() })