svelte-testing-library icon indicating copy to clipboard operation
svelte-testing-library copied to clipboard

test: remove unnecessary tests and skips

Open mcous opened this issue 1 year ago • 1 comments

Overview

This PR follows up the option cleanup of #325 with some test cleanup.

Change log

  • Remove an unnecessary cleanup test skip
  • Remove a redundant fireEvent test
  • Ensure IS_SVELTE_5 from util is used in tests
  • Align console mocks for consistency
  • Replace new Promise for sleep with node:timers/promises
  • Sort imports in tests when my editor yelled at me

mcous avatar Mar 16 '24 18:03 mcous

#325 is merged. This one should be rebasable without any conflict.

yanick avatar Mar 17 '24 14:03 yanick

@yanick rebased and ready for re-review

mcous avatar Mar 25 '24 20:03 mcous

:tada: This PR is included in version 4.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Mar 25 '24 21:03 github-actions[bot]