test(config): added a common configuration environment.js

Sorry about the merge conflict, we seem to be changing the same files today :(