require('babel-register')({
  // ignore node_modules except node_modules/react-native-gifted-spinner and node_modules/react-native-lock
  // because they need to be transpiled
  // syntax: /node_modules\/(?!(library1|library2))/
  ignore: /node_modules\/(?!(react-native-gifted-spinner|react-native-lock))/
});

global.__DEV__ = true;

require('babel-register')({
  // ignore node_modules except node_modules/react-native-lock,
  // because it needs to be transpiled
  // syntax: /node_modules\/(?!(library1|library2))/
  ignore: /node_modules\/(?!(react-native-lock))/
});

Define __DEV__ flag for tests
Define __DEV__ flag for tests
