Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Update Mocha #1848

Open
simison opened this issue Aug 15, 2017 · 0 comments
Open

Update Mocha #1848

simison opened this issue Aug 15, 2017 · 0 comments

Comments

@simison
Copy link
Member

simison commented Aug 15, 2017

Mocha currently: 3.x
Latest: 4.x

This will need some changes to tests files as currently if I just update, it'll throw errors:

/mean/node_modules/mongoose/lib/index.js:391
      throw new mongoose.Error.MissingSchemaError(name);
      ^
MissingSchemaError: Schema hasn't been registered for model "User".
Use mongoose.model(name, schema)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants