Skip to content

Commit

Permalink
feat(tests): Add jest tests for LoggerBuilder
Browse files Browse the repository at this point in the history
Also added mocks for the logger itself.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Jan 9, 2023
1 parent ecfc3fa commit 0b84946
Show file tree
Hide file tree
Showing 6 changed files with 10,185 additions and 1,980 deletions.
7 changes: 7 additions & 0 deletions jest.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
clearMocks: true,
preset: 'ts-jest',
collectCoverageFrom: ['lib/**/*.ts'],
testEnvironment: 'jsdom',
}
Loading

0 comments on commit 0b84946

Please sign in to comment.