Skip to content

test: Fix flaky tests #2506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 14, 2025
Merged

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Mar 14, 2025

Pull Request

Issue

Removed 1 second sleep for reconnecting event
https://github.com/parse-community/Parse-SDK-JS/actions/runs/13862939621/job/38795542303?pr=2499

Parse LiveQuery can resubscribe
  - Expected spy resubscribe to have been called.

Objects should be destroyed after every test not sure why it's not for this test. I change the query class name to ensure this is the only object.

Parse Dist Test parse.js can query an object
  - Expected '4DgFKxysTh' to equal '76ZO8TNp9m'.

Copy link

parse-github-assistant bot commented Mar 14, 2025

🚀 Thanks for opening this pull request!

Copy link

codecov bot commented Mar 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (85e17de) to head (d514781).
Report is 15 commits behind head on alpha.

Additional details and impacted files
@@            Coverage Diff            @@
##             alpha     #2506   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           64        64           
  Lines         6268      6268           
  Branches      1452      1468   +16     
=========================================
  Hits          6268      6268           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dplewis dplewis requested a review from a team March 14, 2025 20:03
@mtrezza mtrezza merged commit 069740c into parse-community:alpha Mar 14, 2025
12 checks passed
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.1.0-alpha.3

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Mar 16, 2025
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.1.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-alpha Released as alpha version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants