mirror of
https://github.com/zrwusa/data-structure-typed.git
synced 2024-11-23 12:54:04 +00:00
[test] coverage directories specified
This commit is contained in:
parent
d6b394446a
commit
919efc04a2
|
@ -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…
Reference in a new issue