ProjectMark-Rodrigo/jest.config.ts
Rodrigo Pinto 9c4ea4ca90 Basic structure of the project
- Added a model with in-memory database, and routes, controller and
middleware to enable making initial CRUD calls to endpoints;

- Added jest and an initial test.
2025-04-02 17:07:06 -03:00

11 lines
228 B
TypeScript

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
moduleFileExtensions: ['ts', 'js'],
testMatch: ['**/tests/**/*.test.(ts|js)'],
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
},
};