status-mobile/rn-cli.config.js
Jakub Sokołowski 34c30e0cb9
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>
2020-04-21 22:53:27 +02:00

8 lines
176 B
JavaScript

const blacklist = require('metro').createBlacklist;
module.exports = {
getBlacklistRE: function() {
return blacklist([/(desktop|mobile)\/js_files\/.*/]);
}
};