1
0
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:
Patrik J. Braun 2019-12-27 00:45:01 +01:00
parent c383d71e4a
commit a091e7d8b3

View File

@ -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');
});
});