test(web): increase test coverage for model-provider-page folder (#32374)

This commit is contained in:
akashseth-ifp
2026-02-24 15:58:12 +05:30
committed by GitHub
parent 84533cbfe0
commit ad3a195734
15 changed files with 1617 additions and 112 deletions

View File

@ -1,10 +1,6 @@
import { fireEvent, render, screen } from '@testing-library/react'
import SyncButton from './sync-button'
vi.mock('ahooks', () => ({
useBoolean: () => [false, { setTrue: vi.fn(), setFalse: vi.fn() }],
}))
describe('SyncButton', () => {
describe('Rendering', () => {
it('should render without crashing', () => {