How do I use chai and mocha with Grunt? -


i trying use 'grunt-mocha-test' package can't find way hookup chai configuration. need manually configure it?

simply require chai in spec files:

var chai = require('chai'); 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -