travis-ci
1053 of 1432 branches covered (73.53%)
Branch coverage included in aggregate %.
5 of 5 new or added lines in 4 files covered. (100.0%)
3042 of 3372 relevant lines covered (90.21%)
10.6 hits per line
1 |
/* eslint-env jest */
|
|
2 |
import { configure } from 'enzyme'; |
|
3 |
import Adapter from 'enzyme-adapter-react-16'; |
4 all except ✔ |
4 |
|
4 all except ✔ |
|
configure({ adapter: new Adapter() }); |
236 all except ✔ |
6 |
const throwError = jest.fn( |
61 all except ✔ |
7 |
mes => { |
153 all except ✔ |
8 |
throw new Error(mes); |
225 all except ✔ |
9 |
}, |
22 all except ✔ |
10 |
); |
251 all except ✔ |
11 |
|
93 all except ✔ |
12 |
/* eslint-disable no-console */
|
145 all except ✔ |
13 |
console.error = throwError; |
55 all except ✔ |
14 |
console.warn = throwError; |
|