Fix ESLint warnings and errors
All checks were successful
Lint and Build / build (pull_request) Successful in 2m48s
All checks were successful
Lint and Build / build (pull_request) Successful in 2m48s
- Remove unused imports in test files - Fix unused variable warnings - Fix React unescaped entity warning in settings page - Remove unused error parameters in catch blocks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0edead505f
commit
b974de37e8
4 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
import { GET } from '../teams/route';
|
||||
// import { GET } from '../teams/route';
|
||||
|
||||
// Mock the database module
|
||||
jest.mock('@/lib/database', () => ({
|
||||
|
@ -13,7 +13,7 @@ jest.mock('@/lib/apiHelpers', () => ({
|
|||
status,
|
||||
json: async () => ({ success: true, data }),
|
||||
})),
|
||||
createDatabaseError: jest.fn((operation, error) => ({
|
||||
createDatabaseError: jest.fn((operation) => ({
|
||||
error: 'Database Error',
|
||||
status: 500,
|
||||
json: async () => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue