feat: harden containers and ci

This commit is contained in:
2025-10-16 22:56:33 -05:00
parent c51604fdb7
commit 8ca2756d7b
14 changed files with 293 additions and 17 deletions

View File

@@ -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",

View File

@@ -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>
);

View File

@@ -23,7 +23,7 @@ jest.mock('react-query', () => ({
const renderJobs = () => {
render(
<MemoryRouter>
<MemoryRouter future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
<Jobs />
</MemoryRouter>
);