Skip to content

Commit

Permalink
chore: add tests for tabs (#188)
Browse files Browse the repository at this point in the history
* chore: add tests for tabs

* fix package.json
  • Loading branch information
imprashast authored Aug 6, 2024
1 parent ad4d0a2 commit 9f853f8
Show file tree
Hide file tree
Showing 6 changed files with 3,878 additions and 1,942 deletions.
2 changes: 1 addition & 1 deletion components/tabs/w-tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default { name: 'wTabs' };
<nav :class="ccTabs.wrapperUnderlined">
<div ref="tabContainer" :class="[ccTabs.tabContainer, gridsClassname || slotFallback]" role="tablist">
<slot />
<span ref="wunderbar" :class="ccTabs.wunderbar" />
<span ref="wunderbar" data-testid="wunderbar" :class="ccTabs.wunderbar" />
</div>
</nav>
</template>
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
"@storybook/test": "8.2.1",
"@storybook/vue3-vite": "8.2.1",
"@storybook/vue3": "8.2.1",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/vue": "8.1.0",
"@vitejs/plugin-vue": "5.0.5",
"@vitest/coverage-v8": "2.0.2",
"@vue/test-utils": "2.4.6",
Expand Down
Loading

0 comments on commit 9f853f8

Please sign in to comment.