From d58125554aecb313df9904a1bf6177c0cd7c7ef0 Mon Sep 17 00:00:00 2001 From: Gilgard <Hjelljord.alida@gmail.com> Date: Mon, 2 May 2022 15:33:20 +0200 Subject: [PATCH] imported jest to fix error in pipeline --- tests/unit/mock-router.js | 2 ++ tests/unit/mock-store.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tests/unit/mock-router.js b/tests/unit/mock-router.js index 6366075..dde85db 100644 --- a/tests/unit/mock-router.js +++ b/tests/unit/mock-router.js @@ -1,3 +1,5 @@ +import { jest } from "@jest/globals"; + // route id param for pages that require routing // id = 1, user = test testesen export const route = { diff --git a/tests/unit/mock-store.js b/tests/unit/mock-store.js index 9ed8b50..23d64ad 100644 --- a/tests/unit/mock-store.js +++ b/tests/unit/mock-store.js @@ -1,3 +1,6 @@ +import { jest } from "@jest/globals"; + +// user = test testesen const user = { state: { token: -- GitLab