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

14 lines
471 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'],
coveragePathIgnorePatterns: ['<rootDir>/tests-rosetta'],
coverageDirectory: '../coverage',
globalSetup: '<rootDir>/tests/setup.ts',
globalTeardown: '<rootDir>/tests/teardown.ts',
testTimeout: 20000,
}