mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-23 20:00:56 +08:00
style(snippet): fix lint warning
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user