mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-30 13:52:28 +08:00
fix: unit tests running with integration environment
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
rootDir: '.',
|
||||
rootDir: 'src',
|
||||
testMatch: ['<rootDir>/tests/**/*.ts'],
|
||||
testPathIgnorePatterns: ['<rootDir>/tests/setup.ts'],
|
||||
collectCoverageFrom: ['<rootDir>/src/**/*.ts'],
|
||||
collectCoverageFrom: ['<rootDir>/**/*.ts'],
|
||||
coverageDirectory: '../coverage',
|
||||
globalSetup: '<rootDir>/tests/setup.ts',
|
||||
transformIgnorePatterns: [
|
||||
"node_modules/(?!(@blockstack/stacks-transactions)/)"
|
||||
|
||||
Reference in New Issue
Block a user