This commit is contained in:
GuilhermeStrice
2025-06-28 22:56:05 +01:00
parent d57fdbd444
commit e567a809f7
17 changed files with 10407 additions and 1 deletions

9
jest.config.js Normal file
View File

@ -0,0 +1,9 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/src/**/*.spec.ts', '**/src/**/*.test.ts'],
clearMocks: true, // Automatically clear mock calls and instances between every test
resetMocks: true, // Automatically reset mock state between every test
restoreMocks: true, // Automatically restore mock state and implementation between every test
};