diff --git a/backend/jest.config.js b/backend/jest.config.js index f61917b01..41e464b8e 100644 --- a/backend/jest.config.js +++ b/backend/jest.config.js @@ -11,6 +11,7 @@ module.exports = { '@arg/(.*)': '/src/graphql/arg/$1', '@enum/(.*)': '/src/graphql/enum/$1', '@repository/(.*)': '/src/typeorm/repository/$1', + '@test/(.*)': '/test/$1', '@entity/(.*)': process.env.NODE_ENV === 'development' ? '/../database/entity/$1' diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 26e3706fe..3b2c6a1ef 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -53,7 +53,8 @@ "@entity/*": ["../database/entity/*"], "@enum/*": ["./src/graphql/enum/*"], "@model/*": ["./src/graphql/model/*"], - "@repository/*": ["./src/typeorm/repository/*"] + "@repository/*": ["./src/typeorm/repository/*"], + "@test/*": ["./test/*"] }, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */