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 a user August 24, 2018 17:37
@ghost
Copy link

ghost 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

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.

ghost
ghost previously requested changes Aug 24, 2018
Copy link

@ghost ghost 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!

@vkarpov15 vkarpov15 dismissed ghost ’s stale review August 25, 2018 08:04

fixed

@vkarpov15 vkarpov15 merged commit 2c2dbcd into master Aug 25, 2018
@Uzlopak Uzlopak deleted the gh6880 branch April 5, 2022 06:38
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.

2 participants