Split Plugins/Index.js across muliple files #17670
Unanswered
biking-monkey
asked this question in
Plugins
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
So our software required 2 browsers to be open simultaneously so they can interact with one another.
Our setup is....
Cypress drives Browser 1 (the main driver for our software)
in the Plugins\Index.js we have selenium code that launches the second browser and under module.exports = (on, task........there's a number of functions that do various things.
My question is, the index.js file will potentially become very large but can easily be split, is there a way of splitting out the index.js file
e.g.
index.js
Blah1.js
Blah2.js
where blah 1 & 2 has some code that index.js calls in.
Beta Was this translation helpful? Give feedback.
All reactions