mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 11:30:58 +08:00
Remove all test dependencies and configurations
- Removed test script from package.json - Removed testing dependencies (@testing-library/react, vitest, jsdom) - Deleted test directory and vitest.config.ts - Updated package-lock.json to reflect changes - Build still works perfectly without test dependencies 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com>
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user