- 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.
11 lines
228 B
TypeScript
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',
|
|
},
|
|
},
|
|
};
|