Skip to content

Commit

Permalink
test(table): add visual spec for size 'xs'
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMenga committed Sep 11, 2024
1 parent f6f78c6 commit b1b047b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/storybook/styles/table/table.visual.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe(`table`, () => {
};

const sizeCases = {
size: ['m', 's'],
size: ['m', 's', 'xs'],
};

const tableTemplate = (classInfo: ClassInfo): TemplateResult => html`
Expand Down Expand Up @@ -78,6 +78,7 @@ describe(`table`, () => {
visualDiffDefault.with(async (setup) => {
await setup.withFixture(
tableTemplate({
'sbb-table-xs': size === 'xs',
'sbb-table-s': size === 's',
'sbb-table-m': size === 'm',
}),
Expand Down

0 comments on commit b1b047b

Please sign in to comment.