Skip to content

feat(table): add icon/label to empty slot #125

feat(table): add icon/label to empty slot

feat(table): add icon/label to empty slot #125

Triggered via pull request August 7, 2024 13:06
Status Failure
Total duration 52s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/components/table/tests/table.test.ts > OTable tests > render correctly: packages/oruga/src/components/table/tests/table.test.ts#L14
Error: Snapshot `OTable tests > render correctly 1` mismatched - Expected + Received @@ -12,19 +12,19 @@ --> </div> <!--v-if--> <!--v-if--> <div class="o-table__wrapper"> - <table class="o-table o-table--table__empty"> + <table class="o-table o-table--empty"> <!--v-if--> <!--v-if--> <tbody> <tr> <td colspan="0"> <!-- @slot Define content if table is empty - --> + --><span class="o-icon o-icon--large" data-oruga="icon"><!-- custom icon component --><!-- native css icon --><i class="mdi mdi-frown mdi-48px"></i></span> </td> </tr> </tbody> <!--v-if--> </table> ❯ src/components/table/tests/table.test.ts:14:32
test
Process completed with exit code 1.