diff --git a/osa4.md b/osa4.md index 8ec3b4c..1c59494 100644 --- a/osa4.md +++ b/osa4.md @@ -829,7 +829,7 @@ const initialNotes = [ ] beforeAll(async () => { - await Note.remove({}) + await Note.deleteMany({}) let noteObject = new Note(initialNotes[0]) await noteObject.save()