Skip to content

Commit

Permalink
update deps, add jest
Browse files Browse the repository at this point in the history
  • Loading branch information
Reon90 committed Feb 4, 2025
1 parent c81572d commit 950ee0c
Show file tree
Hide file tree
Showing 6 changed files with 5,593 additions and 2,154 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
.DS_Store
examples/**
dist/redcube.js.map
coverage/
16 changes: 16 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { Config } from 'jest';

const config: Config = {
preset: 'ts-jest',
testEnvironment: 'node',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
},
collectCoverage: true,
collectCoverageFrom: ['src/**/*.ts'],
coverageReporters: ['text-summary', 'lcov'],
};

export default config;
Loading

0 comments on commit 950ee0c

Please sign in to comment.