Revert "Merge pull request #229 from xqliu/test/add-ut-infrastructure"

This reverts commit 683e77b92f, reversing
changes made to 791cecd2ff.
This commit is contained in:
Liu Xiang Qian
2025-11-04 00:58:12 +08:00
parent d1a21b829d
commit 2eb5801e3d
11 changed files with 13 additions and 3769 deletions

View File

@@ -1,18 +0,0 @@
import { ReactElement } from 'react'
import { render, RenderOptions } from '@testing-library/react'
/**
* Custom render function that wraps components with common providers
*/
export function renderWithProviders(
ui: ReactElement,
options?: Omit<RenderOptions, 'wrapper'>
) {
return render(ui, { ...options })
}
// Re-export everything from @testing-library/react
export * from '@testing-library/react'
// Override render with our custom version
export { renderWithProviders as render }