fix: resolve remaining TypeScript and linting errors
- Fixed unused variables in unit tests (elo.test.ts, permissions.test.ts) - Fixed unused variables in E2E tests (account-acceptance.test.ts, elo-ratings.test.ts, epic1-auth-registration.test.ts, global.setup.ts) - Fixed 'any' type usage in EditTournamentForm.test.tsx and auth-simple.test.ts - Fixed unescaped quotes and apostrophes in React components - Fixed TypeScript type errors in Navigation.tsx, test-api/page.tsx, and matches/upload/page.tsx - Fixed missing useEffect dependency in tournaments/[id]/entry/page.tsx - Updated eslint config to exclude test-api directory - All tests now pass linting and build successfully
This commit is contained in:
@@ -53,7 +53,7 @@ export default async function globalSetup(config: FullConfig) {
|
||||
{ timeout: 10000 }
|
||||
);
|
||||
console.log('Sign-up API call successful');
|
||||
} catch (e) {
|
||||
} catch {
|
||||
console.log('Sign-up API call failed or timed out');
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ export default async function globalSetup(config: FullConfig) {
|
||||
{ timeout: 10000 }
|
||||
);
|
||||
console.log('Admin sign-up API call successful');
|
||||
} catch (e) {
|
||||
} catch {
|
||||
console.log('Admin sign-up API call failed or timed out');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user