Updated tests folder path
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-04-01 10:03:44 +02:00
parent 67a65a359b
commit d3177e2869
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ module.exports = {
// watch: true, // watch: true,
reporters: ['default', 'jest-junit'], reporters: ['default', 'jest-junit'],
collectCoverage: false, collectCoverage: false,
coverageDirectory: '<rootDir>/test/jest/coverage', coverageDirectory: '<rootDir>/tests/jest/coverage',
collectCoverageFrom: ['<rootDir>/src/**/*.vue', '<rootDir>/src/**/*.js', '<rootDir>/src/**/*.jsx'], collectCoverageFrom: ['<rootDir>/src/**/*.vue', '<rootDir>/src/**/*.js', '<rootDir>/src/**/*.jsx'],
// Needed in JS codebases too because of feature flags // Needed in JS codebases too because of feature flags
coveragePathIgnorePatterns: ['/node_modules/', '.d.ts$'], coveragePathIgnorePatterns: ['/node_modules/', '.d.ts$'],

View File

@ -1,5 +1,5 @@
import { describe, expect, it, jest } from '@jest/globals'; 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'; import UserPanel from '../UserPanel.vue';
const mockPush = jest.fn(); const mockPush = jest.fn();

View File

@ -1,5 +1,5 @@
import { jest, describe, expect, it, beforeAll } from '@jest/globals'; 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'; import Login from '../Login.vue';
const mockPush = jest.fn(); const mockPush = jest.fn();