mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-18 19:25:48 +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
13 lines
294 B
JavaScript
13 lines
294 B
JavaScript
// Jest configuration for api
|
|
const base = require('../../jest.config.base.js')
|
|
|
|
module.exports = {
|
|
...base,
|
|
roots: [...base.roots, '<rootDir>/test'],
|
|
testMatch: [
|
|
'<rootDir>/test/integration/**/*.test.ts',
|
|
'<rootDir>/test/integration/*.test.ts',
|
|
],
|
|
displayName: 'xrpl.js',
|
|
}
|