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:
parent
7d052250f2
commit
87c818c571
2 changed files with 26 additions and 40 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue