api-boilerplate
api-boilerplate copied to clipboard
fix a error with mocha test
When i run mocha
in ./api/users
, i got some error
Uncaught TypeError: Cannot read property 'eql' of undefined
Here is my solve:
// (./api/users/test.js) add it
var should = require('should');