fix: handle empty or falsy column widths in FixedHolder #2012
main.yml
on: push
test
/
react component workflow
2m 17s
Annotations
2 errors
|
test / react component workflow
Process completed with exit code 1.
|
|
tests/Table.spec.jsx > Table.Basic > custom components > renders fixed column and header correctly:
tests/Table.spec.jsx#L642
Error: Snapshot `Table.Basic > custom components > renders fixed column and header correctly 1` mismatched
- Expected
+ Received
@@ -10,24 +10,11 @@
style="overflow: hidden;"
>
<table
style="table-layout: fixed; width: 100px; min-width: 100%;"
>
- <colgroup>
- <col
- style="width: 0px;"
- />
- <col
- style="width: 0px;"
- />
- <col
- style="width: 0px;"
- />
- <col
- style="width: 15px;"
- />
- </colgroup>
+ <colgroup />
<thead
class="rc-table-thead"
name="my-header-wrapper"
>
<tr
❯ tests/Table.spec.jsx:642:32
|