mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-11 07:35:07 +00:00
fix distributor tests
This commit is contained in:
parent
a56bc30bc7
commit
4261892083
@ -27,7 +27,7 @@ describe('Distributor', function() {
|
|||||||
expect(distributor.queue).length(conditions.queue.length);
|
expect(distributor.queue).length(conditions.queue.length);
|
||||||
expect(build.status).equal(conditions.build.status);
|
expect(build.status).equal(conditions.build.status);
|
||||||
if (build.status === 'error') {
|
if (build.status === 'error') {
|
||||||
expect(build.error.message).eql(conditions.build.error.message);
|
expect(build.error).eql(conditions.build.error.message);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user