fix(size): Fix legend overflows with padding fit mode #3643
Annotations
14 errors and 1 warning
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > outer y axis with legend:
test/internals/padding-spec.ts#L29
AssertionError: expected { top: +0, right: 2, bottom: 36, …(1) } to deeply equal { top: +0, right: 2, bottom: 37, …(1) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 40.59375,
"right": 2,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:442:4
|
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > when y/y2 axes are displyed:
test/internals/padding-spec.ts#L29
AssertionError: expected { top: +0, right: 40.59375, …(2) } to deeply equal { top: +0, right: 40.59375, …(2) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 40.59375,
"right": 40.59375,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:450:4
|
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > y axis with outer label text:
test/internals/padding-spec.ts#L29
AssertionError: expected { top: +0, right: 40.59375, …(2) } to deeply equal { top: +0, right: 40.59375, …(2) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 60.59375,
"right": 40.59375,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:461:4
|
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > y/y2 axes with outer label text:
test/internals/padding-spec.ts#L29
AssertionError: expected { top: +0, right: 60.59375, …(2) } to deeply equal { top: +0, right: 60.59375, …(2) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 60.59375,
"right": 60.59375,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:472:4
|
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > inner y axis with outer label text:
test/internals/padding-spec.ts#L29
AssertionError: expected { top: +0, right: 60.59375, …(2) } to deeply equal { top: +0, right: 60.59375, …(2) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 20,
"right": 60.59375,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:480:4
|
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > inner y2 axis with outer label text:
test/internals/padding-spec.ts#L29
AssertionError: expected { Object (top, right, ...) } to deeply equal { Object (top, right, ...) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 20,
"right": 22,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:488:4
|
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > inner y axis without outer label text:
test/internals/padding-spec.ts#L29
AssertionError: expected { Object (top, right, ...) } to deeply equal { Object (top, right, ...) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 0,
"right": 22,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:496:4
|
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > inner y/y2 axes without outer label text:
test/internals/padding-spec.ts#L29
AssertionError: expected { top: +0, right: 2, bottom: 36, …(1) } to deeply equal { top: +0, right: 2, bottom: 37, …(1) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 0,
"right": 2,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:504:4
|
test/internals/padding-spec.ts > PADDING > margin: 'fit' mode > non-rotated axis > when y is shown, y2 hidden and padding.right=0:
test/internals/padding-spec.ts#L29
AssertionError: expected { top: +0, right: 2, bottom: 36, …(1) } to deeply equal { top: +0, right: 2, bottom: 37, …(1) }
- Expected
+ Received
Object {
- "bottom": 37,
+ "bottom": 36,
"left": 28.359375,
"right": 2,
"top": 0,
}
❯ deepEqual test/internals/padding-spec.ts:29:25
❯ test/internals/padding-spec.ts:551:4
|
test (20.x)
Process completed with exit code 1.
|
test (19.x)
The job was canceled because "_20_x" failed.
|
test (19.x)
The operation was canceled.
|
test (18.x)
The job was canceled because "_20_x" failed.
|
test (18.x)
The operation was canceled.
|
test (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|