Files
stacks-blockchain-api/tests/jest.config.subnets.js
Matthew Little 5d7056c1ba feat: support for subnets (#1549)
* 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
2023-02-14 13:30:41 +01:00

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;