lib/chains/takeScreenshotChain.js
Function takeScreenshotFactory
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const takeScreenshotFactory = (classInstance) => {
const toJSON = () => ({type: 'takeScreenshot'});
const toStringComposer = makeToStringComposer(toJSON);
const thenComposer = makeThenComposer(toJSON);