From 599fa3e432f4193a74e228832df10bc760fe2d2f Mon Sep 17 00:00:00 2001 From: Vitor Carvalho Date: Wed, 27 Oct 2021 13:07:07 +0100 Subject: [PATCH] Fix semantic scope to th in table --- src/__snapshots__/index.test.tsx.snap | 74 ++++++++++++------ .../table/__snapshots__/index.test.tsx.snap | 75 ++++++++++++++----- 2 files changed, 107 insertions(+), 42 deletions(-) diff --git a/src/__snapshots__/index.test.tsx.snap b/src/__snapshots__/index.test.tsx.snap index 46db491..ac620b9 100644 --- a/src/__snapshots__/index.test.tsx.snap +++ b/src/__snapshots__/index.test.tsx.snap @@ -133,20 +133,29 @@ Array [ - + Name - + Qtd - + Price + - + Kine @@ -157,7 +166,9 @@ Array [ - + Pigs @@ -168,7 +179,9 @@ Array [ - + Chickens @@ -181,15 +194,17 @@ Array [ - + Total - + 16 pcs - - + + $450 - + , @@ -275,20 +290,29 @@ Array [ - + Name - + Qtd - + Price + - + Kine @@ -299,7 +323,9 @@ Array [ - + Pigs @@ -310,7 +336,9 @@ Array [ - + Chickens @@ -323,15 +351,17 @@ Array [ - + Total - + 16 pcs - - + + $450 - + , diff --git a/src/renderers/table/__snapshots__/index.test.tsx.snap b/src/renderers/table/__snapshots__/index.test.tsx.snap index b13e6cd..9066627 100644 --- a/src/renderers/table/__snapshots__/index.test.tsx.snap +++ b/src/renderers/table/__snapshots__/index.test.tsx.snap @@ -2,9 +2,12 @@ exports[` when receives a simple table renders a
tag without , or
1`] = ` + -
+ Kine @@ -15,7 +18,9 @@ exports[` when receives a simple table renders a
tag without -
+ Pigs @@ -26,7 +31,9 @@ exports[` when receives a simple table renders a
tag without -
+ Chickens @@ -47,20 +54,29 @@ exports[` when receives a table block renders a
tag 1`] = ` - - - + -
+ Name + Qtd + Price
+ Kine @@ -71,7 +87,9 @@ exports[` when receives a table block renders a
tag 1`] = ` -
+ Pigs @@ -82,7 +100,9 @@ exports[` when receives a table block renders a
tag 1`] = ` -
+ Chickens @@ -95,15 +115,17 @@ exports[` when receives a table block renders a
tag 1`] = ` - -
+ Total + 16 pcs - - + + $450 - +
@@ -116,20 +138,29 @@ exports[` when receives a table block without footer renders a
- - - + -
+ Name + Qtd + Price
+ Kine @@ -140,7 +171,9 @@ exports[` when receives a table block without footer renders a
-
+ Pigs @@ -151,7 +184,9 @@ exports[` when receives a table block without footer renders a
-
+ Chickens