commercetools-8.x-1.2-alpha1/tests/src/Nightwatch/Lib/setMockMode.js
tests/src/Nightwatch/Lib/setMockMode.js
module.exports = function setMockMode(browser) {
// We expect that if the real API is not used,
// the `mock` mode is already set.
if (process.env.CT_API_MOCK_MODE) {
browser.testHelpersHttpMockSetSettings({ mode: 'mock' });
}
};
