Andreas Köberle
Andreas Köberle

Reputation: 111032

How to organize casperjs test with es6 modules

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

Answers (1)

LasaleFamine
LasaleFamine

Reputation: 633

You can use the patchRequire method to include your CasperJs module.

Documentation: Writing CasperJS modules

Upvotes: 1

Related Questions