Skip to content

Instantly share code, notes, and snippets.

@Samueldhardy
Last active October 29, 2018 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Samueldhardy/5c097253fd6c5ee277fb6879b29103ef to your computer and use it in GitHub Desktop.
Save Samueldhardy/5c097253fd6c5ee277fb6879b29103ef to your computer and use it in GitHub Desktop.
cypress/plugins/index.js
module.exports = (on, config) => {
config.baseUrl = process.env.API_ROOT;
config.env.API_LOGIN_ROOT = process.env.API_LOGIN_ROOT;
config.env.GQL_SERVER_ROOT = process.env.GQL_SERVER_ROOT;
return config;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment