From d3177e286924487d42274336104af1b8f225564b Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 1 Apr 2022 10:03:44 +0200 Subject: [PATCH] Updated tests folder path --- jest.config.js | 2 +- src/components/__tests__/UserPanel.spec.js | 2 +- src/pages/Login/__tests__/Login.spec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jest.config.js b/jest.config.js index 8ae73fbb7..0a4ace8b1 100755 --- a/jest.config.js +++ b/jest.config.js @@ -18,7 +18,7 @@ module.exports = { // watch: true, reporters: ['default', 'jest-junit'], collectCoverage: false, - coverageDirectory: '/test/jest/coverage', + coverageDirectory: '/tests/jest/coverage', collectCoverageFrom: ['/src/**/*.vue', '/src/**/*.js', '/src/**/*.jsx'], // Needed in JS codebases too because of feature flags coveragePathIgnorePatterns: ['/node_modules/', '.d.ts$'], diff --git a/src/components/__tests__/UserPanel.spec.js b/src/components/__tests__/UserPanel.spec.js index 8778ffcec..dbf9ea3bd 100644 --- a/src/components/__tests__/UserPanel.spec.js +++ b/src/components/__tests__/UserPanel.spec.js @@ -1,5 +1,5 @@ import { describe, expect, it, jest } from '@jest/globals'; -import { createWrapper, axios, flushPromises } from 'app/test/jest/jestHelpers'; +import { createWrapper, axios, flushPromises } from 'app/tests/jest/jestHelpers'; import UserPanel from '../UserPanel.vue'; const mockPush = jest.fn(); diff --git a/src/pages/Login/__tests__/Login.spec.js b/src/pages/Login/__tests__/Login.spec.js index 11e5b5b83..1778a6002 100644 --- a/src/pages/Login/__tests__/Login.spec.js +++ b/src/pages/Login/__tests__/Login.spec.js @@ -1,5 +1,5 @@ import { jest, describe, expect, it, beforeAll } from '@jest/globals'; -import { createWrapper, axios } from 'app/test/jest/jestHelpers'; +import { createWrapper, axios } from 'app/tests/jest/jestHelpers'; import Login from '../Login.vue'; const mockPush = jest.fn();