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

Issue/6 improve testing coverage for client

parent acf34e17
No related branches found
No related tags found
1 merge request!10Issue/6 improve testing coverage for client
Pipeline #34257 passed
...@@ -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.
Finish editing this message first!
Please register or to comment