mirror of
https://github.com/zrwusa/data-structure-typed.git
synced 2025-04-25 23:33:31 +00:00
[test] coverage directories specified
This commit is contained in:
parent
d6b394446a
commit
919efc04a2
2 changed files with 7 additions and 3 deletions
|
@ -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}',
|
||||
],
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue