Skip to content

Commit 928a1d5

Browse files
author
Dobromir Hristov
committed
fix: bad test
1 parent fb0d89c commit 928a1d5

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

tests/unit/components/DocumentationTopic/TopicsLinkCardGridItem.spec.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,25 @@ const defaultProps = {
3232

3333
const iconRef = {
3434
identifier: 'iconRef',
35-
variants: [{ url: 'path/to/icon' }],
35+
variants: [{
36+
url: 'path/to/icon',
37+
traits: [
38+
'2x',
39+
'light',
40+
],
41+
}],
3642
};
3743
const references = {
3844
iconRef,
45+
'card-reference': {
46+
variants: [{
47+
url: '/path/to/card',
48+
traits: [
49+
'2x',
50+
'light',
51+
],
52+
}],
53+
},
3954
};
4055

4156
const createWrapper = ({ propsData, ...others } = {}) => mount(TopicsLinkCardGridItem, {

0 commit comments

Comments
 (0)