update snapshots and tests to not include border in calculations #11
Annotations
10 errors
|
error: expect(received).toEqual(expected):
tests/level06.test.ts#L214
{
a: {
+ height: 95,
+ width: 80,
+ x: 0,
+ y: 0,
- height: 93,
- width: 78,
- x: 1,
- y: 1,
},
b: {
+ height: 95,
+ width: 80,
+ x: 110,
+ y: 0,
- height: 93,
- width: 78,
- x: 111,
- y: 1,
},
c: {
+ height: 95,
+ width: 80,
+ x: 220,
+ y: 0,
- height: 93,
- width: 78,
- x: 221,
- y: 1,
},
d: {
+ height: 95,
+ width: 80,
+ x: 0,
+ y: 105,
- height: 93,
- width: 78,
- x: 1,
- y: 106,
},
e: {
+ height: 95,
+ width: 80,
+ x: 110,
+ y: 105,
- height: 93,
- width: 78,
- x: 111,
- y: 106,
},
f: {
+ height: 95,
+ width: 80,
+ x: 220,
+ y: 105,
- height: 93,
- width: 78,
- x: 221,
- y: 106,
},
}
- Expected - 24
+ Received + 24
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level06.test.ts:214:27)
|
|
error: expect(received).toEqual(expected):
tests/level07.test.ts#L156
{
content: {
+ height: 200,
+ width: 200,
+ x: 100,
+ y: 50,
- height: 198,
- width: 198,
- x: 101,
- y: 51,
},
footer: {
+ height: 50,
+ width: 300,
+ x: 0,
+ y: 250,
- height: 48,
- width: 298,
- x: 1,
- y: 251,
},
header: {
+ height: 50,
+ width: 300,
+ x: 0,
+ y: 0,
- height: 48,
- width: 298,
- x: 1,
- y: 1,
},
sidebar: {
+ height: 200,
+ width: 100,
+ x: 0,
+ y: 50,
- height: 198,
- width: 98,
- x: 1,
- y: 51,
},
}
- Expected - 16
+ Received + 16
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level07.test.ts:156:27)
|
|
error: expect(received).toEqual(expected):
tests/level15.test.ts#L155
{
"center-item": {
height: 12,
width: 40,
+ x: 0,
+ y: 188,
- x: 1,
- y: 187,
},
"end-item": {
height: 20,
width: 30,
+ x: 200,
+ y: 80,
- x: 201,
- y: 79,
},
"start-item": {
height: 30,
width: 50,
+ x: 0,
+ y: 70,
- x: 1,
- y: 69,
},
"stretch-item": {
height: 40,
width: 24,
+ x: 200,
+ y: 160,
- x: 201,
- y: 159,
},
}
- Expected - 8
+ Received + 8
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level15.test.ts:155:27)
|
|
error: expect(received).toEqual(expected):
tests/level14.test.ts#L157
{
background: {
+ height: 300,
+ width: 300,
+ x: 0,
+ y: 0,
- height: 298,
- width: 298,
- x: 1,
- y: 1,
},
corner: {
+ height: 100,
+ width: 100,
+ x: 200,
+ y: 200,
- height: 98,
- width: 98,
- x: 201,
- y: 201,
},
overlay1: {
+ height: 200,
+ width: 200,
+ x: 0,
+ y: 0,
- height: 198,
- width: 198,
- x: 1,
- y: 1,
},
overlay2: {
+ height: 200,
+ width: 200,
+ x: 100,
+ y: 100,
- height: 198,
- width: 198,
- x: 101,
- y: 101,
},
}
- Expected - 16
+ Received + 16
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level14.test.ts:157:27)
|
|
error: expect(received).toEqual(expected):
tests/level04.test.ts#L156
{
content: {
+ height: 120,
+ width: 100,
+ x: 0,
+ y: 50,
- height: 118,
- width: 98,
- x: 1,
- y: 51,
},
footer: {
+ height: 120,
+ width: 200,
+ x: 100,
+ y: 50,
- height: 118,
- width: 198,
- x: 101,
- y: 51,
},
header: {
+ height: 50,
+ width: 100,
+ x: 0,
+ y: 0,
- height: 48,
- width: 98,
- x: 1,
- y: 1,
},
sidebar: {
+ height: 50,
+ width: 200,
+ x: 100,
+ y: 0,
- height: 48,
- width: 198,
- x: 101,
- y: 1,
},
}
- Expected - 16
+ Received + 16
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level04.test.ts:156:27)
|
|
error: expect(received).toEqual(expected):
tests/level10.test.ts#L156
{
first: {
+ height: 100,
+ width: 100,
+ x: 0,
+ y: 0,
- height: 98,
- width: 98,
- x: 1,
- y: 1,
},
fourth: {
+ height: 100,
+ width: 100,
+ x: 300,
+ y: 0,
- height: 98,
- width: 98,
- x: 301,
- y: 1,
},
second: {
+ height: 100,
+ width: 100,
+ x: 100,
+ y: 0,
- height: 98,
- width: 98,
- x: 101,
- y: 1,
},
third: {
+ height: 100,
+ width: 100,
+ x: 200,
+ y: 0,
- height: 98,
- width: 98,
- x: 201,
- y: 1,
},
}
- Expected - 16
+ Received + 16
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level10.test.ts:156:27)
|
|
error: expect(received).toEqual(expected):
tests/level08.test.ts#L157
{
a: {
+ height: 100,
+ width: 100,
+ x: 0,
+ y: 0,
- height: 98,
- width: 98,
- x: 1,
- y: 1,
},
b: {
+ height: 100,
+ width: 100,
+ x: 200,
+ y: 100,
- height: 98,
- width: 98,
- x: 201,
- y: 101,
},
c: {
+ height: 100,
+ width: 100,
+ x: 100,
+ y: 200,
- height: 98,
- width: 98,
- x: 101,
- y: 201,
},
d: {
+ height: 100,
+ width: 100,
+ x: 200,
+ y: 0,
- height: 98,
- width: 98,
- x: 201,
- y: 1,
},
}
- Expected - 16
+ Received + 16
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level08.test.ts:157:27)
|
|
error: expect(received).toEqual(expected):
tests/level13.test.ts#L126
{
ads: {
+ height: 300,
+ width: 80,
+ x: 320,
+ y: 0,
- height: 298,
- width: 78,
- x: 321,
- y: 1,
},
main: {
+ height: 300,
+ width: 220,
+ x: 100,
+ y: 0,
- height: 298,
- width: 218,
- x: 101,
- y: 1,
},
sidebar: {
+ height: 300,
+ width: 100,
+ x: 0,
+ y: 0,
- height: 298,
- width: 98,
- x: 1,
- y: 1,
},
}
- Expected - 12
+ Received + 12
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level13.test.ts:126:27)
|
|
error: expect(received).toEqual(expected):
tests/level02.test.ts#L29
{
water: {
+ height: 20,
+ width: 20,
+ x: 0,
+ y: 40,
- height: 18,
- width: 18,
- x: 1,
- y: 41,
},
}
- Expected - 4
+ Received + 4
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level02.test.ts:29:25)
|
|
error: expect(received).toEqual(expected):
tests/level05.test.ts#L155
{
box1: {
+ height: 110,
+ width: 110,
+ x: 0,
+ y: 0,
- height: 108,
- width: 108,
- x: 1,
- y: 1,
},
box2: {
+ height: 110,
+ width: 110,
+ x: 130,
+ y: 0,
- height: 108,
- width: 108,
- x: 131,
- y: 1,
},
box3: {
+ height: 110,
+ width: 110,
+ x: 0,
+ y: 130,
- height: 108,
- width: 108,
- x: 1,
- y: 131,
},
box4: {
+ height: 110,
+ width: 110,
+ x: 130,
+ y: 130,
- height: 108,
- width: 108,
- x: 131,
- y: 131,
},
}
- Expected - 16
+ Received + 16
at <anonymous> (/home/runner/work/minicssgrid/minicssgrid/tests/level05.test.ts:155:27)
|