Skip to content

Commit

Permalink
[test] coverage directories specified
Browse files Browse the repository at this point in the history
  • Loading branch information
zrwusa committed Nov 5, 2023
1 parent d6b3944 commit 919efc0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['<rootDir>/test/**/*.test.ts', '<rootDir>/test/**/*.test.js'],
testMatch: ['<rootDir>/test/unit/**/*.test.ts', '<rootDir>/test/unit/**/*.test.js'],
collectCoverage: true,
coverageReporters: ['clover', 'json', 'lcov', ['text', {skipFull: true}], "json-summary"],
coverageDirectory: 'coverage',
testPathIgnorePatterns: ['<rootDir>/test/integration/', '<rootDir>/test/performance/']
collectCoverageFrom: [
'src/data-structures/**/*.{ts,js}',
'src/types/**/*.{ts,js}',
'src/interfaces/**/*.{ts,js}',
],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-structure-typed",
"version": "1.41.9",
"version": "1.42.0",
"description": "Data Structures of Javascript & TypeScript. Binary Tree, BST, Graph, Heap, Priority Queue, Linked List, Queue, Deque, Stack, AVL Tree, Tree Multiset, Trie, Directed Graph, Undirected Graph, Singly Linked List, Doubly Linked List, Max Heap, Max Priority Queue, Min Heap, Min Priority Queue.",
"main": "dist/cjs/src/index.js",
"module": "dist/mjs/src/index.js",
Expand Down

0 comments on commit 919efc0

Please sign in to comment.