Skip to content

[YW-360] Debug for time warning#20

Merged
sherryy021229-sys merged 6 commits intomainfrom
YW-360
Oct 23, 2025
Merged

[YW-360] Debug for time warning#20
sherryy021229-sys merged 6 commits intomainfrom
YW-360

Conversation

@sherryy021229-sys
Copy link
Collaborator

debug for time warning

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses time-related test warnings by adjusting timeout configurations in test files. The global timeout setting has been removed in favor of per-test timeout configurations to provide more granular control over test execution times.

Key Changes:

  • Removed global jest.setTimeout(20000) in favor of individual test timeouts
  • Applied specific timeout values (10000ms or 15000ms) to async-heavy tests
  • Cleaned up unnecessary TypeScript ignore comments

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/pages/admin/categories/categoryform.test.jsx Replaced global timeout with individual test timeouts (10-15s) for async operations
src/hooks/admin/useexport.test.js Removed redundant TypeScript ignore comments for URL mock assignments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sherryy021229-sys sherryy021229-sys merged commit 79255b7 into main Oct 23, 2025
13 checks passed
@sherryy021229-sys sherryy021229-sys deleted the YW-360 branch October 23, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants