Files
stacks-blockchain-api/jest.config.rosetta-cli-data.js
Asim Mehmood f764054cb8 feat: rosetta data api and construction validation with rosetta-cli
* test: added test for rosetta cli check:construction and check:data

* ci: added github workflow to test  roseta-cli:data

* ci: add github action for rosetta-cli: construction

* refactor: refactor cli tests

* fix: use localhoust for github actions in rosetta config file

* fix: github actions

* fix: rebase issue

* refactor: update rosetta-cli env files path

* refactor: remove hard coded cli container and use rosetta-cli ouput

* perf: remove unnecessary wait of 20 seconds
2021-11-16 10:18:04 -06:00

17 lines
637 B
JavaScript

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