diff --git a/code/server/.babelrc b/code/server/.babelrc index c58af5b1..3313ff9e 100644 --- a/code/server/.babelrc +++ b/code/server/.babelrc @@ -1,6 +1,3 @@ { - "presets": [ - "@babel/preset-env", - "@babel/preset-typescript" - ] -} \ No newline at end of file + "presets": ["@babel/preset-env", "@babel/preset-typescript"] +} diff --git a/code/server/jest.config.js b/code/server/jest.config.js index 47cdc085..d89c26af 100644 --- a/code/server/jest.config.js +++ b/code/server/jest.config.js @@ -4,8 +4,7 @@ const { pathsToModuleNameMapper } = require('ts-jest'); module.exports = { preset: 'ts-jest', testEnvironment: 'node', - transform: { - '^.+\\.ts$': 'ts-jest', - }, + transform: {}, moduleNameMapper: pathsToModuleNameMapper({ '@src/*': ['./src/*'] }, { prefix: '/' }), -}; \ No newline at end of file + transformIgnorePatterns: ['/node_modules/(?!@notespace/shared).+\\.js$'], +};