mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
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
This commit is contained in:
12
packages/xrpl/jest.config.integration.js
Normal file
12
packages/xrpl/jest.config.integration.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// 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',
|
||||
}
|
||||
Reference in New Issue
Block a user