Skip to content

Commit cafbd2f

Browse files
committed
feat: Add core NestJS dependencies and remove unused e2e test variables.
1 parent e7ba7da commit cafbd2f

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

e2e/notifications.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test.describe('Notifications System', () => {
2323
// 3. Verify Dropdown Content
2424
// It should either show a list or "No notifications yet"
2525
// We expect one of these to be visible.
26-
const hasItems = await page.getByText('Notifications').isVisible();
26+
2727
// The header "Notifications" is always there in standard dropdowns usually?
2828
// In notification-dropdown.tsx: <h4 className="font-semibold text-sm">Notifications</h4>
2929
await expect(

e2e/payments.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ test.describe('Payments System', () => {
1010
test.setTimeout(180000); // 3 minutes for full flow
1111
const uniqueId = Date.now().toString();
1212
const courseTitle = `Paid Course ${uniqueId}`;
13-
const studentEmail = `student${uniqueId}@test.com`;
1413

1514
// 1. Instructor: Create & Submit Course
1615
authPage = new AuthPage(page);

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717
"test:e2e:headed": "playwright test --headed",
1818
"precommit": "pnpm format && turbo lint typecheck test build --force"
1919
},
20-
"dependencies": {},
20+
"dependencies": {
21+
"@nestjs/common": "^11.1.10",
22+
"@nestjs/core": "^11.1.10",
23+
"@nestjs/platform-express": "^11.1.10",
24+
"cookie-parser": "^1.4.7",
25+
"reflect-metadata": "^0.2.2"
26+
},
2127
"devDependencies": {
2228
"@playwright/test": "^1.57.0",
2329
"@types/cookie-parser": "^1.4.10",

pnpm-lock.yaml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)