mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 03:35:49 +00:00
* fix test:integration command to run tests directly under ./test/integration * refactor jest setup to have separate config files for integration and unit tests
14 lines
327 B
JavaScript
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',
|
|
}
|