Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Commit 28938fa

Browse files
committed
Remove old props in Badge test
1 parent f6ee6c8 commit 28938fa

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/visual-stack/src/components/Badge/tests/index.test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ describe('Badge', () => {
1111
document.body.appendChild(el);
1212

1313
test('should render children', () => {
14-
const wrapper = mount(
15-
<Badge backgroundColor="red" color="blue">
16-
CONTENT CERTIFIED
17-
</Badge>
18-
);
14+
const wrapper = mount(<Badge>CONTENT CERTIFIED</Badge>);
1915
expect(wrapper.find(Badge).text()).toEqual('CONTENT CERTIFIED');
2016
});
2117
});

0 commit comments

Comments
 (0)