Skip to content

Commit

Permalink
test(clean): removed unused else
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Sep 27, 2024
1 parent cda8a87 commit 03877a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/useContentHeadline.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ describe('useContentHeadline (rootTags)', () => {
describe('useContentHeadline (contentTags)', () => {
test('Structure Value Check', () => {
const ContentContainer = defineComponent({
template: `<component :is="currentTag" :data-current-tag="currentTag" :data-current-level="currentLevel" :data-parent-level="parentLevel"><slot /></component>
<slot v-else />`,
template: `<component :is="currentTag" :data-current-tag="currentTag" :data-current-level="currentLevel" :data-parent-level="parentLevel"><slot /></component>`,
setup() {
const { currentTag, currentLevel, parentLevel } = useContentContainer({
rootTags: ['ul'],
Expand Down

0 comments on commit 03877a5

Please sign in to comment.