mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-29 21:36:49 +08:00
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
This commit is contained in:
16
jest.config.rosetta-cli-data.js
Normal file
16
jest.config.rosetta-cli-data.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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)/)"
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user