1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +00:00

Spreadsheet: Put common Range(s) functionality into CommonRange class

This commit is contained in:
u9g 2022-03-04 01:46:58 +00:00 committed by Ali Mohammad Pur
parent 7d052250f2
commit 87c818c571
2 changed files with 26 additions and 40 deletions

View file

@ -109,7 +109,7 @@ describe("Range", () => {
expect(R`A2:A25`.first().name).toEqual("A2");
});
test("Range#at", () => {
test("CommonRange#at", () => {
const workbook = createWorkbook();
const sheet = createSheet(workbook, "Sheet 1");
sheet.makeCurrent();
@ -125,7 +125,7 @@ describe("Range", () => {
expect(Ranges.from(R`A0:A2`, R`B0:B2`).at(5).name).toEqual("B2");
});
test("Range(s)#toArray", () => {
test("CommonRange#toArray", () => {
const workbook = createWorkbook();
const sheet = createSheet(workbook, "Sheet 1");
sheet.makeCurrent();