tests: begin adding tests

This commit is contained in:
Stevan Freeborn
2023-04-26 06:47:11 -05:00
parent e1a0575e0d
commit 5f50ab74d7
3 changed files with 43 additions and 2 deletions
+3 -2
View File
@@ -9,13 +9,14 @@ const config = {
clearMocks: true,
collectCoverage: true,
collectCoverageFrom: [
'./src/**/*.ts',
'./src/**/*.(ts|tsx)',
'!**/tests/**',
'!/node_modules',
'!./src/docs/**',
],
coverageDirectory: 'coverage',
coverageReporters: ['json', 'text', 'html'],
testMatch: ['**/tests/**/*.(test|spec|jest).ts'],
testMatch: ['**/tests/**/*.(test|spec|jest).(ts|tsx)'],
testPathIgnorePatterns: ['tests/(setup|testUtils).ts'],
verbose: true,
};