mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 08:34:40 +08:00
# Conflicts: # .env # .github/workflows/ci.yml # .vscode/launch.json # package.json # src/api/init.ts # src/datastore/common.ts # src/datastore/pg-store.ts # src/event-stream/event-server.ts # src/event-stream/reader.ts # src/index.ts # src/test-utils/test-helpers.ts # src/tests-2.4/pox-3-delegate-aggregation.ts # src/tests-bns-e2e/bns-integration-tests.ts # src/tests-bns/v1-import-tests.ts # src/tests-tokens-metadata/tokens-metadata-tests.ts
18 lines
697 B
JavaScript
18 lines
697 B
JavaScript
/** @type {import('jest').Config} */
|
|
const config = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
rootDir: `${require('path').dirname(__dirname)}/src`,
|
|
testMatch: ['<rootDir>/tests-rosetta-construction/**/*.ts'],
|
|
testPathIgnorePatterns: ['<rootDir>/tests-rosetta-construction/setup.ts', '<rootDir>/tests-rosetta-construction/teardown.ts'],
|
|
collectCoverageFrom: ['<rootDir>/**/*.ts'],
|
|
coveragePathIgnorePatterns: ['<rootDir>/tests*'],
|
|
coverageDirectory: '<rootDir>/../coverage',
|
|
globalSetup: '<rootDir>/tests-rosetta-construction/setup.ts',
|
|
globalTeardown: '<rootDir>/tests-rosetta-construction/teardown.ts',
|
|
testTimeout: 60_000,
|
|
verbose: true,
|
|
};
|
|
|
|
module.exports = config;
|