I’ve figured out how to use react-native-config-node
with other test runners (I'm using jest) that might be a bit simpler and more generic than the method described in the README:
I installed the two modules:
npm install react-native-config-node babel-plugin-import-rename --save-dev
...and added the following config to my .babelrc: