Skip to content

Commit d17f60d

Browse files
committed
Claims board: quorum visualization, deadlines, and personalized “needs vote” filters
1 parent 4099904 commit d17f60d

28 files changed

Lines changed: 2999 additions & 127 deletions

frontend/.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

frontend/jest.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const nextJest = require("next/jest.js");
2+
3+
const createJestConfig = nextJest({ dir: "./" });
4+
5+
/** @type {import('jest').Config} */
6+
const config = {
7+
testEnvironment: "jest-environment-jsdom",
8+
moduleNameMapper: {
9+
"^@/(.*)$": "<rootDir>/src/$1",
10+
},
11+
testMatch: ["**/__tests__/**/*.test.ts", "**/__tests__/**/*.test.tsx"],
12+
};
13+
14+
module.exports = createJestConfig(config);

frontend/next-env.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

frontend/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,20 @@
2828
},
2929
"devDependencies": {
3030
"@next/bundle-analyzer": "^15.2.3",
31+
"@testing-library/jest-dom": "^6.9.1",
32+
"@testing-library/react": "^16.3.2",
33+
"@types/jest": "^30.0.0",
3134
"@types/node": "^22.19.15",
3235
"@types/react": "^19",
3336
"autoprefixer": "^10.4.27",
3437
"eslint": "^9",
3538
"eslint-config-next": "15.2.3",
39+
"fast-check": "^4.6.0",
3640
"jest": "^29",
41+
"jest-environment-jsdom": "^30.3.0",
3742
"postcss": "^8.5.8",
3843
"tailwindcss": "^4.2.2",
44+
"ts-jest": "^29.4.6",
3945
"typescript": "^5"
4046
}
4147
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"specId": "18d1cc77-c378-48a1-8896-9068026a1f1d", "workflowType": "requirements-first", "specType": "feature"}

0 commit comments

Comments
 (0)