Commit 2a89fe18 authored by Wietse Kuipers's avatar Wietse Kuipers

Added test coverage report

parent ee156e6a
......@@ -3,7 +3,7 @@ import React from 'react';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
import Index from '../app/containers/app';
import Index from '../app/app';
it('renders correctly', () => {
const tree = renderer.create(
......
......@@ -3,7 +3,7 @@ import React from 'react';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
import Index from '../app/containers/app';
import Index from '../app/app';
it('renders correctly', () => {
const tree = renderer.create(
......
......@@ -8,7 +8,9 @@
"lint": "eslint *.js app --fix"
},
"jest": {
"preset": "react-native"
"preset": "react-native",
"collectCoverage": true,
"coverageReporters": ["text-summary"]
},
"dependencies": {
"react": "~15.4.0-rc.4",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment