Update mongodb_document_store_spec.js

removed unwanted codes
This commit is contained in:
Bharath S 2021-12-06 11:19:44 +05:30 committed by GitHub
commit 5353c1757b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,27 +15,4 @@ describe('mongodb_document_store', () => {
});
})
});
// it('should create new task', () => {
// return service.addTask({ name: 'next', completed: false })
// .then(task => {
// expect(task.name).to.equal('next')
// expect(task.completed).to.equal(false)
// })
// .then(() => service.getTasks())
// .then(tasks => {
// expect(tasks.length).to.equal(2)
// expect(tasks[1].name).to.equal('next')
// })
// })
// it('should remove task', () => {
// return service.getTasks()
// .then(tasks => tasks[0]._id)
// .then(taskId => service.deleteTask(taskId))
// .then(() => service.getTasks())
// .then(tasks => {
// expect(tasks.length).to.equal(0)
// })
// })
})
})