mirror of https://github.com/apache/superset.git
fix(jest): add superset-frontend to testRegex (#18601)
This commit is contained in:
parent
1720fa68fa
commit
cebff83d0c
|
@ -18,7 +18,8 @@
|
|||
*/
|
||||
|
||||
module.exports = {
|
||||
testRegex: '\\/(spec|src|plugins|packages)\\/.*(_spec|\\.test)\\.[jt]sx?$',
|
||||
testRegex:
|
||||
'\\/superset-frontend\\/(spec|src|plugins|packages)\\/.*(_spec|\\.test)\\.[jt]sx?$',
|
||||
moduleNameMapper: {
|
||||
'\\.(css|less|geojson)$': '<rootDir>/spec/__mocks__/mockExportObject.js',
|
||||
'\\.(gif|ttf|eot|png|jpg)$': '<rootDir>/spec/__mocks__/mockExportString.js',
|
||||
|
|
Loading…
Reference in New Issue