feat: harden containers and ci
This commit is contained in:
@@ -28,6 +28,16 @@
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "eslint --ext js,jsx src"
|
||||
},
|
||||
"jest": {
|
||||
"coverageThreshold": {
|
||||
"global": {
|
||||
"statements": 18,
|
||||
"branches": 7,
|
||||
"functions": 12,
|
||||
"lines": 18
|
||||
}
|
||||
}
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
|
||||
@@ -30,7 +30,7 @@ jest.mock('react-router-dom', () => ({
|
||||
describe('Layout', () => {
|
||||
const renderLayout = () => {
|
||||
return render(
|
||||
<MemoryRouter>
|
||||
<MemoryRouter future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
|
||||
<Layout />
|
||||
</MemoryRouter>
|
||||
);
|
||||
|
||||
@@ -23,7 +23,7 @@ jest.mock('react-query', () => ({
|
||||
|
||||
const renderJobs = () => {
|
||||
render(
|
||||
<MemoryRouter>
|
||||
<MemoryRouter future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
|
||||
<Jobs />
|
||||
</MemoryRouter>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user