style(snippet): fix lint warning

This commit is contained in:
unix
2020-08-24 18:51:35 +08:00
parent d41796a300
commit 35e4a17acd

View File

@@ -71,7 +71,7 @@ describe('Snippet', () => {
})
it('should work with custom symbol', () => {
const wrapper = mount(<Snippet text={command} symbol={'>'} />)
const wrapper = mount(<Snippet text={command} symbol=">" />)
expect(wrapper.html()).toMatchSnapshot()
expect(() => wrapper.unmount()).not.toThrow()