-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up remaining deprecation warnings #6917
Conversation
…ne()`, `cursor()`, etc. Re: #6880
The only thing I see causing trouble is the unused done in the after at the bottom of schema.timestamps.test.js. after(function(done) {
return Cat.deleteMany({});
}); changing it to after(function() {
return Cat.deleteMany({});
}); will clean up the tests. |
test/schema.timestamps.test.js
Outdated
@@ -326,7 +326,7 @@ describe('schema options.timestamps', function() { | |||
}); | |||
|
|||
after(function(done) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can pull done from the after function here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just the one change that I can see noted above.
Great! |
Re: #6880