docs icon indicating copy to clipboard operation
docs copied to clipboard

Add Mocha and Chai to CoffeeScript page

Open hobovsky opened this issue 4 years ago • 3 comments

Page on CoffeeScript does not mention that Mocha and Chai are available. I went with the old framework before I noticed that I can use more modern setup.

hobovsky avatar Feb 26 '21 19:02 hobovsky

CoffeeScript doesn't use Mocha. I don't know why it's installed. describe/it (from cw-2.js) and assertions from chai can be used to make it "look" like Mocha + Chai.

kazk avatar Feb 26 '21 19:02 kazk

So describe and it which worked for me were not Mocha but CW framework? Okay, good to know!

Should Chai be added to the page, or there is nothing to change then?

hobovsky avatar Feb 26 '21 19:02 hobovsky

Feel free to add it.

kazk avatar Feb 26 '21 19:02 kazk