7489-testToMaster #2515
|
@ -101,7 +101,7 @@ describe('Worker createAbsence()', () => {
|
||||||
error = e;
|
error = e;
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(error.message).toEqual(`Cannot add more than one '1/2 day vacation`);
|
expect(error.message).toEqual(`Cannot add more than one '1/2 day vacation'`);
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`should throw an error when adding a "Holiday" absence if there's a festivity`, async() => {
|
it(`should throw an error when adding a "Holiday" absence if there's a festivity`, async() => {
|
||||||
|
|
Loading…
Reference in New Issue