Skip to content

Commit ac9c5a2

Browse files
committed
chore: adding spec test rather then test
1 parent 7afa251 commit ac9c5a2

File tree

3 files changed

+11128
-7101
lines changed

3 files changed

+11128
-7101
lines changed

frontend/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
6464
"@graphql-codegen/typescript-resolvers": "^4.3.0",
6565
"@parcel/watcher": "^2.4.1",
66+
"@testing-library/dom": "^10.4.0",
67+
"@testing-library/jest-dom": "^6.6.2",
68+
"@testing-library/react": "^16.0.1",
6669
"@types/jest": "^29.5.14",
6770
"@types/node": "^22.5.5",
6871
"@types/react": "^18.3.8",
@@ -72,9 +75,11 @@
7275
"eslint": "8.57.1",
7376
"eslint-config-next": "14.2.13",
7477
"jest": "^29.7.0",
78+
"jest-environment-jsdom": "^29.7.0",
7579
"postcss": "^8.4.47",
7680
"tailwindcss": "^3.4.12",
7781
"ts-jest": "^29.2.5",
82+
"ts-node": "^10.9.2",
7883
"typescript": "^5.6.2"
7984
}
8085
}

frontend/src/test/projectApi.test.ts renamed to frontend/src/test/projectApi.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ describe('Project API', () => {
4343
expect(deleted).toBe(true);
4444
});
4545
});
46+
47+
// Remove the expect function declaration

0 commit comments

Comments
 (0)