2.4.3 • Published 1 month ago
@marinade.finance/jest-utils v2.4.3
jest-utils
Jest testing utilities.
For global equality tester it can be added to check BN
and @solana/web3.js
PublicKey
and when using jest-shell-matchers
then adding TypeScript typing for it.
Configuration of the equality tester for global usage
Add to jest.config.js
something like this
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testTimeout: 90000,
detectOpenHandles: true,
modulePathIgnorePatterns: ['<rootDir>/build/'],
testPathIgnorePatterns: ['__tests__/.*.skip.ts', '__tests__/setup/*'],
globalSetup:
'<rootDir>/packages/marinade-ts-cli/__tests__/setup/globalSetup.ts',
setupFilesAfterEnv: ['<rootDir>/packages/jest-utils/src/equalityTesters.ts'],
}
2.4.3
1 month ago
2.4.2
2 months ago
2.4.1
2 months ago
2.4.0
2 months ago
2.3.0
2 months ago
2.3.2
2 months ago
2.3.1
2 months ago
2.2.3
3 months ago
2.2.2
4 months ago
2.2.1
4 months ago
2.2.0
4 months ago
2.1.4
4 months ago
2.1.3
4 months ago
2.1.2
4 months ago
2.1.1
4 months ago
2.1.0
5 months ago
2.0.22
5 months ago
2.0.21
5 months ago
2.0.19
5 months ago
2.0.20
5 months ago
2.0.18
6 months ago
2.0.17
7 months ago
2.0.16
7 months ago
2.0.15
7 months ago
2.0.14
7 months ago
2.0.13
7 months ago
2.0.12
7 months ago
2.0.10
7 months ago
2.0.9
7 months ago
2.0.8
7 months ago
2.0.7
7 months ago
2.0.6
7 months ago
2.0.5
7 months ago
2.0.4
7 months ago
2.0.3
7 months ago
2.0.2
7 months ago
1.1.0
7 months ago
1.0.1
10 months ago
1.0.0
10 months ago