chore: snapshot before performance optimization
This commit is contained in:
@@ -457,12 +457,12 @@ describe('Data Migration Tests', () => {
|
||||
expect(note?.content).toContain('**markdown**')
|
||||
|
||||
if (note?.checkItems) {
|
||||
const checkItems = JSON.parse(note.checkItems)
|
||||
const checkItems = note.checkItems as any[]
|
||||
expect(checkItems.length).toBe(2)
|
||||
}
|
||||
|
||||
|
||||
if (note?.images) {
|
||||
const images = JSON.parse(note.images)
|
||||
const images = note.images as any[]
|
||||
expect(images.length).toBe(1)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user