UNPKG

codeceptjs

Version:

Supercharged End 2 End Testing Framework for NodeJS

17 lines (12 loc) 410 B
const { retryTo } = require('../effects') const defaultConfig = { registerGlobal: true, } module.exports = function (config) { config = Object.assign(defaultConfig, config) console.log(`Deprecation Warning: 'retryTo' has been moved to the 'codeceptjs/effects' module. Disable retryTo plugin to remove this warning.`) if (config.registerGlobal) { global.retryTo = retryTo } return retryTo }