Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Sep 25, 2025

Summary

fix unstable coverage tests due to clean coverage directory conflict.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings September 25, 2025 11:24
@netlify
Copy link

netlify bot commented Sep 25, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 0cc96d7
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68d526612597e80008925321
😎 Deploy Preview https://deploy-preview-596--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
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

This PR fixes unstable coverage tests by disabling automatic cleanup of coverage files across multiple test configuration files. The change prevents interference between test runs by preserving coverage artifacts.

  • Adds clean: false configuration to all test coverage fixtures
  • Ensures coverage files persist between test runs to prevent flaky behavior

Reviewed Changes

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

Show a summary per file
File Description
rstest.thresholds.config.ts Disables coverage cleanup for threshold testing
rstest.skipFull.config.ts Disables coverage cleanup for skipFull reporter testing
rstest.perFileThresholds.config.ts Disables coverage cleanup for per-file threshold testing
rstest.include.config.ts Disables coverage cleanup for include pattern testing
rstest.globThresholds.config.ts Disables coverage cleanup for glob threshold testing

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

@9aoy 9aoy merged commit 522b4e9 into main Sep 25, 2025
18 checks passed
@9aoy 9aoy deleted the coverage-tests branch September 25, 2025 11:30
@9aoy 9aoy mentioned this pull request Sep 30, 2025
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.

1 participant