mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 06:53:12 +00:00
test(workorders): avoid Array.prototype.at outside the ES2020 lib
This commit is contained in:
parent
e052dcb37a
commit
5f8218b09a
1 changed files with 1 additions and 1 deletions
|
|
@ -28,6 +28,6 @@ describe("work-order ids filter", () => {
|
|||
|
||||
expect(normalized).toHaveLength(WORK_ORDER_IDS_MAX);
|
||||
expect(normalized[0]).toBe(1);
|
||||
expect(normalized.at(-1)).toBe(WORK_ORDER_IDS_MAX);
|
||||
expect(normalized[normalized.length - 1]).toBe(WORK_ORDER_IDS_MAX);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue