diff --git a/src/lib/role-access.test.ts b/src/lib/role-access.test.ts index bdd6709..afa3066 100644 --- a/src/lib/role-access.test.ts +++ b/src/lib/role-access.test.ts @@ -16,7 +16,7 @@ describe('role access', () => { test('removes empty sections for parent, student, and teacher', () => { const sections = [ { id: 'visible', items: [{ key: 'dashboard' as const }] }, - { id: 'hidden', items: [{ key: 'student-detail' as ViewName }] }, + { id: 'hidden', items: [{ key: 'districts' as ViewName }] }, ]; for (const role of ['PARENT', 'STUDENT', 'TEACHER'] as const) { diff --git a/tsconfig.json b/tsconfig.json index 966d1b0..2773cdb 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -33,9 +33,7 @@ "include": [ "next-env.d.ts", "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - ".next/dev/types/**/*.ts" + "**/*.tsx" ], "exclude": [ "node_modules"