- Added algorithm and endpoint to find the shortest path between two topics; - Added respective test; - Added a JSON collection with API calls that can be imported into Postman for the convenience of the user.
14 lines
268 B
TypeScript
14 lines
268 B
TypeScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
moduleFileExtensions: ['ts', 'js'],
|
|
testMatch: ['**/tests/**/*.test.(ts|js)'],
|
|
transform: {
|
|
'^.+\\.ts?$': [
|
|
'ts-jest',
|
|
{
|
|
tsconfig: 'tsconfig.json',
|
|
},
|
|
]
|
|
},
|
|
};
|