mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 22:43:34 +08:00
* test: initial integration test for subnets * test: ensure first subnet block is mined * feat: synthetic nft deposit tx * test: increase timeout for subnets test * test: attempt fix test flakiness in CI * test: much faster subnet block mining time, subnet tests 5-10x faster * ci: bump subnet-node docker image * test: complete withdrawal on stacks chain * test: try waiting for subnet contract interface to be ready * test: verify NFT ownership on L1 after withdrawal * test: fix subnet node port env vars * feat: implement parsing for FT deposit synthetic tx * chore: rename test file * chore: do not skip test * test: progress on subnet STX use-case test * feat: implement parsing for STX deposit synthetic tx * test: validation of synthetic tx for L1 deposit-stx * test: validation of synthetic tx for L1 deposit-nft-asset * test: validation of synthetic tx for L1 deposit-ft-asset * chore: lint fix * chore: remove debug comments
27 lines
940 B
JavaScript
27 lines
940 B
JavaScript
/** @type {import('jest').Config} */
|
|
const config = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
rootDir: `${require('path').dirname(__dirname)}/src`,
|
|
testMatch: ['<rootDir>/tests-subnets/**/*.ts'],
|
|
testPathIgnorePatterns: [
|
|
'<rootDir>/tests-subnets/global-setup.ts',
|
|
'<rootDir>/tests-subnets/global-teardown.ts',
|
|
'<rootDir>/tests-subnets/env-setup.ts',
|
|
'<rootDir>/tests-subnets/test-helpers.ts',
|
|
'<rootDir>/tests-subnets/set-env.ts',
|
|
],
|
|
collectCoverageFrom: ['<rootDir>/**/*.ts'],
|
|
coveragePathIgnorePatterns: ['<rootDir>/tests*'],
|
|
coverageDirectory: '<rootDir>/../coverage',
|
|
globalSetup: '<rootDir>/tests-subnets/global-setup.ts',
|
|
globalTeardown: '<rootDir>/tests-subnets/global-teardown.ts',
|
|
setupFilesAfterEnv: ['<rootDir>/tests-subnets/env-setup.ts'],
|
|
setupFiles: ['<rootDir>/tests-subnets/set-env.ts'],
|
|
testTimeout: 60_000,
|
|
verbose: true,
|
|
bail: true,
|
|
};
|
|
|
|
module.exports = config;
|