Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Update test/unit/tasksTest.js
Browse files Browse the repository at this point in the history
Co-authored-by: Mohamed Marrouchi <marrouchi.mohamed@gmail.com>
  • Loading branch information
bradsawadye and marrouchi authored Oct 31, 2022
1 parent 89ca88a commit 0236a38
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/unit/tasksTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,6 @@ describe('Rerun Task Tests', () => {
it('will process empty tasks', async () => {
const originalTask = await createTask()
await tasks.findAndProcessAQueuedTask()
// await new Promise(resolve => {
// setTimeout(() => resolve(), 1000)
// })
const updatedTask = await TaskModel.findById(originalTask._id)
updatedTask.status.should.eql('Completed')
})
Expand Down

0 comments on commit 0236a38

Please sign in to comment.