Skip to content
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

test(cli): stop spinner without error #5551

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Jul 26, 2024

Currently most spinner test scripts end the execution with errors (because setTimeout(spinner.stop, num) throws instead of correctly stopping the spinner).

This PR fixes them by correctly stopping the spinners.

(This probably fixes #5541 )

@github-actions github-actions bot added the cli label Jul 26, 2024
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.48%. Comparing base (f7561ca) to head (a13ea64).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5551   +/-   ##
=======================================
  Coverage   96.48%   96.48%           
=======================================
  Files         465      465           
  Lines       37772    37772           
  Branches     5580     5580           
=======================================
  Hits        36445    36445           
  Misses       1285     1285           
  Partials       42       42           

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

@kt3k kt3k merged commit 0d6b1ae into denoland:main Jul 26, 2024
16 checks passed
@kt3k kt3k deleted the test-cli-stop-spinner-correctly branch July 26, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flaky test: Spinner constructor accepts spinner
2 participants