Skip to content
Snippets Groups Projects
Commit e3a9a261 authored by Albin Henriksson's avatar Albin Henriksson
Browse files

Merge branch 'issue/6-improve-testing-coverage-for-client' of...

Merge branch 'issue/6-improve-testing-coverage-for-client' of https://gitlab.liu.se/tddd96-grupp11/teknikattan-scoring-system into issue/7-add-test-coverage-report
parents acf34e17 35e53a7e
No related branches found
No related tags found
1 merge request!12Issue/7 add test coverage report
...@@ -52,5 +52,12 @@ ...@@ -52,5 +52,12 @@
"last 1 safari version" "last 1 safari version"
] ]
}, },
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,tsx,ts}",
"!src/index.tsx",
"!src/reportWebVitals.ts"
]
},
"proxy": "http://localhost:5000/api/" "proxy": "http://localhost:5000/api/"
} }
import React from 'react'
import { render, screen } from '@testing-library/react' import { render, screen } from '@testing-library/react'
import React from 'react'
import App from './App' import App from './App'
test('renders learn react link', () => { test('renders learn react link', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment