diff --git a/client/package.json b/client/package.json index 7382e3eae45622dfe825744136e974f685c54bad..deacb7c4abb0b8684a66e58bfe006950819c0e87 100644 --- a/client/package.json +++ b/client/package.json @@ -52,5 +52,12 @@ "last 1 safari version" ] }, + "jest": { + "collectCoverageFrom": [ + "src/**/*.{js,jsx,tsx,ts}", + "!src/index.tsx", + "!src/reportWebVitals.ts" + ] + }, "proxy": "http://localhost:5000/api/" } diff --git a/client/src/App.test.tsx b/client/src/App.test.tsx index 3a7a8cc56fc10c8204edd16bb784b72ca3ad50ac..fac51bb8f4fde0143a7c86e7f72412a3d65c0cf0 100644 --- a/client/src/App.test.tsx +++ b/client/src/App.test.tsx @@ -1,5 +1,5 @@ -import React from 'react' import { render, screen } from '@testing-library/react' +import React from 'react' import App from './App' test('renders learn react link', () => {