feat: basic code and configurations

This commit is contained in:
Riccardo
2023-07-18 21:48:58 +02:00
parent bb34d5a2b5
commit 88854532a5
17 changed files with 4807 additions and 1 deletions

16
jest.config.ts Normal file
View File

@@ -0,0 +1,16 @@
import type { Config } from 'jest';
const config: Config = {
preset: 'ts-jest',
clearMocks: true,
collectCoverage: true,
verbose: true,
moduleFileExtensions: ['js', 'ts'],
collectCoverageFrom: ['src/**/*.ts'],
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': '@swc/jest'
}
};
export default config;