Reputation: 111032
Is there a way to use ES6 modules to organise the test for CasperJS, and if not what is the normal way to organise the tests?
Upvotes: 12
Views: 855
Reputation: 633
You can use the patchRequire
method to include your CasperJs module.
Documentation: Writing CasperJS modules
Upvotes: 1