Skip to content

Commit f17ec0f

Browse files
committed
Fix DeclarationTokenGroup.spec.js
1 parent af00cc7 commit f17ec0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/components/DocumentationTopic/PrimaryContent/DeclarationTokenGroup.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ describe('DeclarationTokenGroup', () => {
2828

2929
it('does not render anything if `type` is not provided', () => {
3030
const wrapper = shallowMount(DeclarationTokenGroup);
31-
expect(wrapper.html()).toBe(undefined);
31+
expect(wrapper.html()).toBe('');
3232
});
3333

3434
it('does not render anything if `type` is an empty array', () => {
3535
const wrapper = shallowMount(DeclarationTokenGroup, { propsData: { type: [] } });
36-
expect(wrapper.html()).toBe(undefined);
36+
expect(wrapper.html()).toBe('');
3737
});
3838
});

0 commit comments

Comments
 (0)