test: try fix test, clear test log in CI (#31912)

This commit is contained in:
Stephen Zhou
2026-02-04 17:05:15 +08:00
committed by GitHub
parent ec7ccd800c
commit 5f69470ebf
6 changed files with 75 additions and 16 deletions

View File

@ -1,6 +1,7 @@
import { act, cleanup } from '@testing-library/react'
import { mockAnimationsApi, mockResizeObserver } from 'jsdom-testing-mocks'
import '@testing-library/jest-dom/vitest'
import 'vitest-canvas-mock'
mockResizeObserver()