Files
xahau.js/packages/xrpl/jest.config.unit.js
Omar Khan 70a9ab0510 refactor jest setup to improve unit/integration test executions (#2322)
* fix test:integration command to run tests directly under ./test/integration

* refactor jest setup to have separate config files for integration and unit tests
2023-05-26 15:16:44 -04:00

14 lines
327 B
JavaScript

// Jest configuration for api
const base = require('../../jest.config.base.js')
module.exports = {
...base,
roots: [...base.roots, '<rootDir>/test'],
testMatch: ['<rootDir>/test/**/*.test.ts'],
testPathIgnorePatterns: [
'<rootDir>/test/integration',
'<rootDir>/test/fixtures',
],
displayName: 'xrpl.js',
}