Files
stacks-blockchain-api/tests/jest.config.bns-e2e.js
Matthew Little 30922c8a73 feat: Stacks 2.4 / pox-3 (#1650)
* chore: bump stacks-node test images to 2.4

* test: switch pox-2 tests to pox-3

* fix: add pox-3 events table migration

* fix: add pox3_events array

* fix: switching routes/methods to pox3

* chore: update stacks.js

* chore: update to latest krypton

* chore: fix stacks-node docker setup

* test: use epoch2.4 in RPC tests

* test: fix more pox-3 behaviors

* fix: include pox-3 events in reader filter

* test: fix rosetta test with tricky cycle timing

* tests: fix tokens tests

* tests: fix tokens tests

* test: mostly fixed rosetta tests

* test: fix bns tests

* test: trace wait-upon txids

* ci: lint fix

* test: more Rosetta fixes "pox" to "pox-3"

* test: more logging for failure to find tx

* test: update rosetta fee values

* test: update rosetta fee values, 2

* tests: couple more Rosetta test fixes

* test: pull rosetta-construction tests into its own

* fix: pox-3 support in Rosetta stacking ops parsing

* test: fix rosetta delegate_stx integration test

* tests: fix token metadata tests

* ci: attempt to improve test flake

* ci: lint fix

* ci: attempt fix rosettal-cli-data tests

* ci: disable busted rosetta-cli-data tests

* test: remove duplicate file

* test: another attempt to fix bns-e2e tests

* test: attempt at fixing token-metadata flake

* revert: accidental discord notification removal

* ci: repair rosetta-cli-data test

* ci: repair rosetta-cli-data test

* chore: fix `test:integration:rosetta-cli:construction` command

* test: verbose logging for `rosetta-cli-data`

* test: attempt fix `rosetta-cli-data`

* test: speed up rosetta-cli-data test, possible fix for CI

* chore: replace stacks-2.1 referenaces with stacks-krypton

* ci: run `rosetta-cli:construction` tests against Stacks 2.4

* ci: improve `rosetta-construction` test flake

* ci: improve `rosetta-data` test flake

* ci: enable prelease off of `feat/stacks-2.4` branch

* chore: reduce token-metadata test flake

* ci: fix prerelase config

* test: add pox-3 delegation revoke test

* test: remove commented test

* test: unskip test

* ci: use `stacks-2.4` prerelease branch

* chore(release): 7.1.11-stacks-2.4.1 [skip ci]

## [7.1.11-stacks-2.4.1](https://github.com/hirosystems/stacks-blockchain-api/compare/v7.1.10...v7.1.11-stacks-2.4.1) (2023-05-09)

### Bug Fixes

* add pox-3 events table migration ([4c78556](4c785565a1))
* add pox3_events array ([f9f4f42](f9f4f42c35))
* include pox-3 events in reader filter ([dc36080](dc360802ab))
* pox-3 support in Rosetta stacking ops parsing ([2397186](2397186262))
* switching routes/methods to pox3 ([b0c6bef](b0c6beffb3))

### Reverts

* accidental discord notification removal ([a150258](a150258bdd))

---------

Co-authored-by: janniks <janniks@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
2023-05-23 16:43:34 +02:00

18 lines
628 B
JavaScript

/** @type {import('jest').Config} */
const config = {
preset: 'ts-jest',
testEnvironment: 'node',
rootDir: `${require('path').dirname(__dirname)}/src`,
testMatch: ['<rootDir>/tests-bns-e2e/*.ts'],
testPathIgnorePatterns: ['<rootDir>/tests-bns-e2e/setup.ts', '<rootDir>/tests-bns-e2e/teardown.ts'],
collectCoverageFrom: ['<rootDir>/**/*.ts'],
coveragePathIgnorePatterns: ['<rootDir>/tests*'],
coverageDirectory: '<rootDir>/../coverage',
globalSetup: '<rootDir>/tests-bns-e2e/setup.ts',
globalTeardown: '<rootDir>/tests-bns-e2e/teardown.ts',
testTimeout: 60000,
verbose: true,
};
module.exports = config;