chore: initial commit

This commit is contained in:
Stevan Freeborn
2023-04-07 23:18:45 -05:00
parent 15058b3908
commit 64520bf786
21 changed files with 7869 additions and 472 deletions
+23
View File
@@ -0,0 +1,23 @@
import nextJest from 'next/jest';
const createJestConfig = nextJest({
dir: './',
});
const config = {
testEnvironment: 'jest-environment-jsdom',
clearMocks: true,
collectCoverage: true,
collectCoverageFrom: [
'./src/**/*.ts',
'!**/tests/**',
'!/node_modules',
],
coverageDirectory: 'coverage',
coverageReporters: ['json', 'text', 'html'],
testMatch: ['**/tests/**/*.(test|spec|jest).ts'],
testPathIgnorePatterns: ['tests/(setup|testUtils).ts'],
verbose: true,
};
export default createJestConfig(config);