style(lint): lint front end test files

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-05-26 17:35:52 +02:00
parent 759b26e203
commit 98e8546c9a
7 changed files with 21 additions and 21 deletions

View File

@@ -1,5 +1,7 @@
const useRouterMock = vi.fn(() => ({
push: () => {},
push: function () {
// do nothing
},
}));
import { config, mount } from "@vue/test-utils";

View File

@@ -1,8 +1,14 @@
const useRouterMock = vi.fn(() => ({
push: () => {},
replace: () => {},
push: function () {
// do nothing
},
replace: function () {
// do nothing
},
}));
const useRouteMock = vi.fn(() => {});
const useRouteMock = vi.fn(function () {
// do nothing
});
import { config, mount, VueWrapper } from "@vue/test-utils";
import Login from "@/views/User/LoginView.vue";