Skip to content

Commit

Permalink
Development: Remove unrequired jest resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Krusche committed Jun 9, 2024
1 parent e546946 commit 70e0fde
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 33 deletions.
9 changes: 4 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,15 @@ module.exports = {
coverageThreshold: {
global: {
// TODO: in the future, the following values should increase to at least 90%
statements: 86.82,
branches: 73.22,
functions: 81.23,
lines: 86.91,
statements: 86.80,
branches: 73.21,
functions: 81.21,
lines: 86.89,
},
},
coverageReporters: ['clover', 'json', 'lcov', 'text-summary'],
setupFilesAfterEnv: ['<rootDir>/src/test/javascript/spec/jest-test-setup.ts', 'jest-extended/all'],
moduleFileExtensions: ['ts', 'html', 'js', 'json', 'mjs'],
resolver: '<rootDir>/jest.resolver.js',
transformIgnorePatterns: [`/node_modules/(?!${esModules})`],
transform: {
'^.+\\.(ts|js|mjs|html|svg)$': [
Expand Down
27 changes: 0 additions & 27 deletions jest.resolver.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { MockAccountService } from '../../helpers/mocks/service/mock-account.ser
import { CompetencyPageableSearch, SearchResult, SortingOrder } from 'app/shared/table/pageable-table';
import * as dateUtils from 'app/utils/date.utils';
import { ExerciseService } from 'app/exercises/shared/exercise/exercise.service';
import dayjs from 'dayjs';
import dayjs from 'dayjs/esm';
import { Dayjs } from 'dayjs/esm/index';
import { Exercise } from 'app/entities/exercise.model';
import { MockExerciseService } from '../../helpers/mocks/service/mock-exercise.service';
Expand Down

0 comments on commit 70e0fde

Please sign in to comment.