api-boilerplate icon indicating copy to clipboard operation
api-boilerplate copied to clipboard

mocha test Cannot read property 'eql' of undefined

Open tsurumure opened this issue 6 years ago • 0 comments

When i run mocha in ./api/users, i got some warning:

Uncaught TypeError: Cannot read property 'eql' of undefined

Here is my solve: ./api/users/test.js

// add it
var should = require('should')

tsurumure avatar Feb 28 '19 08:02 tsurumure