Skip to content

Commit

Permalink
Update Table.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini committed Mar 20, 2024
1 parent cafacab commit c4dfb95
Showing 1 changed file with 8 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ describe("Table classes", () => {
]);
}
if (tableRowHead) {
expectToHaveClasses(tableRowHead, [
"border-b",
"last:border-0",
"border-table-dark",
"bg-table-dark",
]);
expectToHaveClasses(tableRowHead, ["bg-table-head-dark"]);
}
if (tableRowBody) {
expectToHaveClasses(tableRowBody, [
Expand Down Expand Up @@ -152,11 +147,7 @@ describe("Table classes", () => {
]);
}
if (tableRowHead) {
expectToHaveClasses(tableRowHead, [
"border-b",
"last:border-0",
"bg-table-light",
]);
expectToHaveClasses(tableRowHead, ["bg-table-head-light"]);
}
if (tableRowBody) {
expectToHaveClasses(tableRowBody, [
Expand Down Expand Up @@ -237,10 +228,8 @@ describe("Table classes", () => {
}
if (tableRowHead) {
expectToHaveClasses(tableRowHead, [
"border-b",
"last:border-0",
"border-table-dark",
"bg-table-dark",
"bg-table-head-dark",
"dark:bg-table-head-light",
]);
}
if (tableRowBody) {
Expand Down Expand Up @@ -328,10 +317,8 @@ describe("Table classes", () => {
}
if (tableRowFooter) {
expectToHaveClasses(tableRowFooter, [
"border-b",
"last:border-0",
"border-table-dark",
"bg-table-dark",
"bg-table-head-dark",
"dark:bg-table-head-light",
]);
}
if (tableRowBody) {
Expand Down Expand Up @@ -409,10 +396,8 @@ describe("Table classes", () => {
}
if (tableRowHead) {
expectToHaveClasses(tableRowHead, [
"border-b",
"last:border-0",
"border-table-dark",
"bg-table-dark",
"bg-table-head-dark",
"dark:bg-table-head-light",
]);
}
if (tableRowBody) {
Expand Down

0 comments on commit c4dfb95

Please sign in to comment.