MODEL TESTING PATTERNS page 3 (Hooks) step 5 - bug or my error?

link:
https://www.codecademy.com/paths/web-development/tracks/test-driven-development-javascript/modules/learn-tdd-testing-models/lessons/model-testing-patterns/exercises/hooks

Checkpoint 5 requires: In the beforeEach hook after the call to connect, add
“await mongoose.connection.db.dropDatabase();”

My code:

expected result: step 5 passes

actual result: error message: Checkpoint 5 adds dropDatabase