Skip to content

Commit 33bdec5

Browse files
committed
test(SidebarNavLabel): snapshot update
1 parent 8776925 commit 33bdec5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/components/__tests__/SidebarNavLabel.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ describe("SidebarNavLabel.vue", () => {
1717
expect(wrapper.props().url).toBe('')
1818
expect(wrapper.props().icon).toBe('fa fa-circle')
1919
});
20-
it('has hasSlotDefault computed property', () => {
20+
it('has computed properties', () => {
2121
expect(typeof SidebarNavLabel.computed.classList).toBe('function')
2222
expect(typeof SidebarNavLabel.computed.itemClasses).toBe('function')
2323
})
2424
it('renders correctly', () => {
2525
const wrapper = mount(SidebarNavLabel, {
2626
propsData: {
27+
name: 'test',
2728
label: { variant: 'info' },
2829
icon: 'fa fa-circle'
2930
}

src/components/__tests__/__snapshots__/SidebarNavLabel.js.snap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ exports[`SidebarNavLabel.vue renders correctly 1`] = `
1111
<i
1212
class="fa fa-circle text-info "
1313
/>
14-
14+
test
15+
1516
</a>
1617
</li>
1718
`;

0 commit comments

Comments
 (0)