Skip to content

Commit e69855a

Browse files
committed
test: fix tests
Signed-off-by: Andres Correa Casablanca <castarco@coderspirit.xyz>
1 parent c13a024 commit e69855a

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/tests/layouts.test.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('computeLeftShiftLayout', () => {
1414
meta: {
1515
isRoot: true,
1616
isLeaf: true,
17-
abstractPosition: { x: 0, y: 0 },
17+
pos: { x: 0, y: 0 },
1818
},
1919
},
2020
})
@@ -32,7 +32,7 @@ describe('computeLeftShiftLayout', () => {
3232
meta: {
3333
isRoot: true,
3434
isLeaf: true,
35-
abstractPosition: { x: 0, y: 0 },
35+
pos: { x: 0, y: 0 },
3636
},
3737
},
3838
})
@@ -62,15 +62,15 @@ describe('computeLeftShiftLayout', () => {
6262
meta: {
6363
isRoot: false,
6464
isLeaf: true,
65-
abstractPosition: { x: 0, y: 1 },
65+
pos: { x: 0, y: 1 },
6666
},
6767
},
6868
},
6969
],
7070
meta: {
7171
isRoot: true,
7272
isLeaf: false,
73-
abstractPosition: { x: 0, y: 0 },
73+
pos: { x: 0, y: 0 },
7474
},
7575
},
7676
})
@@ -104,7 +104,7 @@ describe('computeLeftShiftLayout', () => {
104104
meta: {
105105
isRoot: false,
106106
isLeaf: true,
107-
abstractPosition: { x: 0, y: 1 },
107+
pos: { x: 0, y: 1 },
108108
},
109109
},
110110
},
@@ -115,15 +115,15 @@ describe('computeLeftShiftLayout', () => {
115115
meta: {
116116
isRoot: false,
117117
isLeaf: true,
118-
abstractPosition: { x: 1, y: 1 },
118+
pos: { x: 1, y: 1 },
119119
},
120120
},
121121
},
122122
],
123123
meta: {
124124
isRoot: true,
125125
isLeaf: false,
126-
abstractPosition: { x: 0, y: 0 },
126+
pos: { x: 0, y: 0 },
127127
},
128128
},
129129
})
@@ -182,7 +182,7 @@ describe('computeLeftShiftLayout', () => {
182182
meta: {
183183
isRoot: false,
184184
isLeaf: true,
185-
abstractPosition: { x: 0, y: 2 },
185+
pos: { x: 0, y: 2 },
186186
},
187187
},
188188
},
@@ -193,15 +193,15 @@ describe('computeLeftShiftLayout', () => {
193193
meta: {
194194
isRoot: false,
195195
isLeaf: true,
196-
abstractPosition: { x: 1, y: 2 },
196+
pos: { x: 1, y: 2 },
197197
},
198198
},
199199
},
200200
],
201201
meta: {
202202
isRoot: false,
203203
isLeaf: false,
204-
abstractPosition: { x: 0, y: 1 },
204+
pos: { x: 0, y: 1 },
205205
},
206206
},
207207
},
@@ -217,23 +217,23 @@ describe('computeLeftShiftLayout', () => {
217217
meta: {
218218
isRoot: false,
219219
isLeaf: true,
220-
abstractPosition: { x: 2, y: 2 },
220+
pos: { x: 2, y: 2 },
221221
},
222222
},
223223
},
224224
],
225225
meta: {
226226
isRoot: false,
227227
isLeaf: false,
228-
abstractPosition: { x: 1, y: 1 },
228+
pos: { x: 1, y: 1 },
229229
},
230230
},
231231
},
232232
],
233233
meta: {
234234
isRoot: true,
235235
isLeaf: false,
236-
abstractPosition: { x: 0, y: 0 },
236+
pos: { x: 0, y: 0 },
237237
},
238238
},
239239
})
@@ -292,15 +292,15 @@ describe('computeLeftShiftLayout', () => {
292292
meta: {
293293
isRoot: false,
294294
isLeaf: true,
295-
abstractPosition: { x: 0, y: 2 },
295+
pos: { x: 0, y: 2 },
296296
},
297297
},
298298
},
299299
],
300300
meta: {
301301
isRoot: false,
302302
isLeaf: false,
303-
abstractPosition: { x: 0, y: 1 },
303+
pos: { x: 0, y: 1 },
304304
},
305305
},
306306
},
@@ -316,7 +316,7 @@ describe('computeLeftShiftLayout', () => {
316316
meta: {
317317
isRoot: false,
318318
isLeaf: true,
319-
abstractPosition: { x: 1, y: 2 },
319+
pos: { x: 1, y: 2 },
320320
},
321321
},
322322
},
@@ -327,23 +327,23 @@ describe('computeLeftShiftLayout', () => {
327327
meta: {
328328
isRoot: false,
329329
isLeaf: true,
330-
abstractPosition: { x: 2, y: 2 },
330+
pos: { x: 2, y: 2 },
331331
},
332332
},
333333
},
334334
],
335335
meta: {
336336
isRoot: false,
337337
isLeaf: false,
338-
abstractPosition: { x: 1, y: 1 },
338+
pos: { x: 1, y: 1 },
339339
},
340340
},
341341
},
342342
],
343343
meta: {
344344
isRoot: true,
345345
isLeaf: false,
346-
abstractPosition: { x: 0, y: 0 },
346+
pos: { x: 0, y: 0 },
347347
},
348348
},
349349
})

0 commit comments

Comments
 (0)