2018-07-25 19:17:34 -04:00
|
|
|
module.exports = {
|
2019-03-15 10:19:57 -04:00
|
|
|
setupFilesAfterEnv: ['<rootDir>/setupTestFramework.js'],
|
2018-07-25 19:17:34 -04:00
|
|
|
moduleNameMapper: {
|
2019-06-26 11:51:35 -04:00
|
|
|
'netlify-cms-lib-auth': '<rootDir>/packages/netlify-cms-lib-auth/src/index.js',
|
2020-01-15 00:15:14 +02:00
|
|
|
'netlify-cms-lib-util': '<rootDir>/packages/netlify-cms-lib-util/src/index.ts',
|
2018-08-07 14:46:54 -06:00
|
|
|
'netlify-cms-ui-default': '<rootDir>/packages/netlify-cms-ui-default/src/index.js',
|
2020-01-15 00:15:14 +02:00
|
|
|
'netlify-cms-backend-github': '<rootDir>/packages/netlify-cms-backend-github/src/index.ts',
|
2020-04-30 16:03:08 +03:00
|
|
|
'netlify-cms-lib-widgets': '<rootDir>/packages/netlify-cms-lib-widgets/src/index.ts',
|
2020-05-04 15:17:19 +03:00
|
|
|
'netlify-cms-widget-object': '<rootDir>/packages/netlify-cms-widget-object/src/index.js',
|
2018-07-25 19:17:34 -04:00
|
|
|
},
|
2018-08-30 16:24:28 -04:00
|
|
|
testURL: 'http://localhost:8080',
|
2020-07-22 14:21:13 +03:00
|
|
|
snapshotSerializers: ['jest-emotion'],
|
2021-02-01 12:29:16 +02:00
|
|
|
transformIgnorePatterns: ['node_modules/(?!copy-text-to-clipboard)'],
|
2018-07-25 19:17:34 -04:00
|
|
|
};
|