chore: Refactor tests to use findBy queries for better async handling, update mock implementations, and clean up imports across various test files. Adjust toast utility to use for-of loops for callback execution. Update Vite and Vitest configuration files for consistency.
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import { useState } from 'react'
|
||||
import { useQuery } from '@tanstack/react-query'
|
||||
import { Copy, Check, Key, AlertCircle } from 'lucide-react'
|
||||
import { useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
import { Badge } from './ui/Badge'
|
||||
import { Button } from './ui/Button'
|
||||
import { Card, CardContent, CardHeader, CardTitle } from './ui/Card'
|
||||
import { Badge } from './ui/Badge'
|
||||
import { Skeleton } from './ui/Skeleton'
|
||||
import { toast } from '../utils/toast'
|
||||
import client from '../api/client'
|
||||
import { toast } from '../utils/toast'
|
||||
|
||||
interface BouncerInfo {
|
||||
name: string
|
||||
|
||||
Reference in New Issue
Block a user