lnked/react-starter

View on GitHub
src/components/button/index.test.js

Summary

Maintainability
A
0 mins
Test Coverage
// import * as React from 'react'
// import { Button } from './'
// import renderer from 'react-test-renderer'

// it('отображается корректно', () => {
//     const component = renderer.create(<Button>test</Button>)
//     const tree = component.toJSON()
//     expect(tree).toMatchSnapshot()

//     // tree.props.onMouseEnter()

//     // tree = component.toJSON()
//     // expect(tree).toMatchSnapshot()

//     // tree.props.onMouseLeave()
//     // tree = component.toJSON()
//     // expect(tree).toMatchSnapshot()
// })

test('test', () => { })