We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd448e9 commit d2b2132Copy full SHA for d2b2132
src/content/4/en/part4b.md
@@ -794,8 +794,8 @@ test('a note can be deleted', async () => {
794
795
const notesAtEnd = await helper.notesInDb()
796
797
- const contents = notesAtEnd.map(n => n.content)
798
- assert(!contents.includes(noteToDelete.content))
+ const ids = notesAtEnd.map(n => n.id)
+ assert(!ids.includes(noteToDelete.id))
799
800
assert.strictEqual(notesAtEnd.length, helper.initialNotes.length - 1)
801
})
0 commit comments