react-native: avoid Haste module naming collision warnings
Warnings like this: jest-haste-map: Haste module naming collision: StatusIm-Mobile The following files share their name; please adjust your hasteImpl: * <rootDir>/mobile/js_files/package.json * <rootDir>/package.json Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e0b5bfc7d8
commit
34c30e0cb9
|
@ -2,6 +2,6 @@ const blacklist = require('metro').createBlacklist;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
getBlacklistRE: function() {
|
getBlacklistRE: function() {
|
||||||
return blacklist([/desktop\/js_files\/.*/]);
|
return blacklist([/(desktop|mobile)\/js_files\/.*/]);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue