Skip to content

Fix some tests#8656

Merged
alexr00 merged 2 commits intomainfrom
alexr00/given-monkey
Apr 9, 2026
Merged

Fix some tests#8656
alexr00 merged 2 commits intomainfrom
alexr00/given-monkey

Conversation

@alexr00
Copy link
Copy Markdown
Member

@alexr00 alexr00 commented Apr 9, 2026

No description provided.

@alexr00 alexr00 enabled auto-merge (squash) April 9, 2026 10:02
Copilot AI review requested due to automatic review settings April 9, 2026 10:02
@alexr00 alexr00 self-assigned this Apr 9, 2026
Copy link
Copy Markdown
Contributor

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

Updates StateManager tests to avoid false positives by ensuring queries are present and async issue-query work is awaited so assertions actually execute.

Changes:

  • Injects _queries directly in tests to avoid relying on StateManager initialization.
  • Awaits issue collection promises so setIssues() / getIssues() logic runs before test completion.
Show a summary per file
File Description
src/test/issues/stateManager.test.ts Adjusts tests to explicitly seed queries and wait on issue-collection promises to make async assertions reliable.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

@alexr00 alexr00 merged commit d7cc0af into main Apr 9, 2026
6 checks passed
@alexr00 alexr00 deleted the alexr00/given-monkey branch April 9, 2026 10:23
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