nathanboktae / mocha-casperjs

Write CasperJS tests using Mocha
MIT License
120 stars 30 forks source link

ReferenceError: Can't find variable: assert #86

Closed brandonros closed 8 years ago

brandonros commented 8 years ago

Right out of the gate, I was expecting "assert" to be defined.

This is common with Mocha, no? Do I need to require it, or is that not supported?

nathanboktae commented 8 years ago

Right out of the gate, I was expecting "assert" to be defined.

Why do you expect that? Mocha doesn't come with an assertion library.

mocha-casperjs will look for chai and casper-chai if you have installed them. This is explained in the readme