Files
stacks-blockchain-api/jest.config.js

16 lines
503 B
JavaScript

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
rootDir: 'src',
testMatch: ['<rootDir>/tests/**/*.ts'],
testPathIgnorePatterns: ['<rootDir>/tests/setup.ts', '<rootDir>/tests/teardown.ts'],
collectCoverageFrom: ['<rootDir>/**/*.ts'],
coverageDirectory: '../coverage',
globalSetup: '<rootDir>/tests/setup.ts',
globalTeardown: '<rootDir>/tests/teardown.ts',
testTimeout: 20000,
transformIgnorePatterns: [
"node_modules/(?!(@blockstack/stacks-transactions)/)"
]
}