Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharmor committed Jun 22, 2021
1 parent 5827894 commit 9bb112d
Show file tree
Hide file tree
Showing 5 changed files with 2,024 additions and 5,507 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
root: true,
extends: ['@shaharmor/eslint-config'],
env: {
node: true,
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
loglevel=error
save-exact=true
unsafe-perm=true
11 changes: 9 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import type { Config } from '@jest/types';
import { pathsToModuleNameMapper } from 'ts-jest/utils';
import * as tsConfig from './tsconfig.json';
import { compilerOptions } from './tsconfig.json';

const config: Config.InitialOptions = {
preset: 'ts-jest',
testEnvironment: 'node',
moduleNameMapper: pathsToModuleNameMapper(tsConfig.compilerOptions.paths, { prefix: '<rootDir>/' }),
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' }),
globals: {
'ts-jest': {
diagnostics: {
warnOnly: true,
},
},
},
};

export default config;
Loading

0 comments on commit 9bb112d

Please sign in to comment.