Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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