let metroBundler
try {
  metroBundler = require('metro')
} catch (ex) {
  metroBundler = require('metro-bundler')
}

module.exports = {
  getBlacklistRE: function() {
    return metroBundler.createBlacklist([/test\/.*/, /detox\/node_modules\/.*/])
  },
}
