mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
fixing throw test error
This commit is contained in:
parent
c383d71e4a
commit
a091e7d8b3
@ -24,6 +24,6 @@ describe('TaskQue', () => {
|
||||
const task = tq.get();
|
||||
tq.ready(task);
|
||||
expect(tq.isEmpty()).to.be.equal(true);
|
||||
expect(tq.ready.bind(tq, task)).to.be.throw('Job does not exist');
|
||||
expect(tq.ready.bind(tq, task)).to.be.throw('Task does not exist');
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user