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# - ItextSharp font color issue in ver 5.5.4+ -

how does one get csharp-sqlite to throw exceptions for duplicates or foreign key constraint violations -