Skip to content
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

Merged
merged 7 commits into from Aug 25, 2018
Merged

Clean up remaining deprecation warnings #6917

merged 7 commits into from Aug 25, 2018

Conversation

vkarpov15
Copy link
Collaborator

Re: #6880

@vkarpov15 vkarpov15 self-assigned this Aug 24, 2018
@vkarpov15 vkarpov15 requested a review from lineus August 24, 2018 17:37
@lineus
Copy link
Collaborator

lineus commented Aug 24, 2018

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.

@@ -326,7 +326,7 @@ describe('schema options.timestamps', function() {
});

after(function(done) {
Copy link
Collaborator

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.

lineus
lineus previously requested changes Aug 24, 2018
Copy link
Collaborator

@lineus lineus left a 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.

@Fonger
Copy link
Contributor

Fonger commented Aug 25, 2018

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants