mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 03:13:56 +08:00
25 lines
571 B
JavaScript
25 lines
571 B
JavaScript
let globalState;
|
|
module.exports = {
|
|
e2e: {
|
|
setupNodeEvents(on, config) {
|
|
on("task", {
|
|
setGlobalState: (val) => {
|
|
return (globalState = val || {});
|
|
},
|
|
getGlobalState: () => {
|
|
return globalState || {};
|
|
},
|
|
cli_log: (message) => {
|
|
console.log("Logging console message from task");
|
|
console.log(message);
|
|
return null;
|
|
},
|
|
});
|
|
},
|
|
experimentalRunAllSpecs: true,
|
|
},
|
|
chromeWebSecurity: false,
|
|
defaultCommandTimeout: 10000,
|
|
pageLoadTimeout: 20000,
|
|
};
|