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:
icy
2025-11-04 01:44:40 +08:00
parent b630cc5128
commit 088773eb53
4 changed files with 3 additions and 3116 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 }