mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
18 lines
442 B
JavaScript
18 lines
442 B
JavaScript
const path = require('path')
|
|
|
|
module.exports = {
|
|
moduleDirectories: [
|
|
'node_modules',
|
|
/*
|
|
* __dirname makes 'test/utils' available in tests, e.g.
|
|
*
|
|
* const {myModule} = require('utils/my-test-helper')
|
|
*/
|
|
__dirname,
|
|
],
|
|
rootDir: path.resolve(__dirname, '../../'),
|
|
roots: ['<rootDir>/src', __dirname],
|
|
transformIgnorePatterns: ['node_modules'],
|
|
collectCoverageFrom: ['src/**/*.js', '!**/*.test.js'],
|
|
}
|