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

Add lifecycle tests for MarkdownHooks #894

Merged
merged 2 commits into from
Mar 3, 2025
Merged

Add lifecycle tests for MarkdownHooks #894

merged 2 commits into from
Mar 3, 2025

Conversation

remcohaszing
Copy link
Member

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything or linked relevant results below
  • I made sure the docs are up to date
  • I included tests (or that’s not needed)

Description of changes

This uses React Testing Library to test the hooks implementation. This gives us control over the React lifecycle, so we can test any state the component might be in.

This uses React Testing Library to test the hooks implementation. This
gives us control over the React lifecycle, so we can test any state the
component might be in.
@remcohaszing remcohaszing added 🕸️ area/tests This affects tests 🦋 type/enhancement This is great to have 🤞 phase/open Post is being triaged manually labels Mar 1, 2025
@wooorm wooorm merged commit ad7f37f into main Mar 3, 2025
4 checks passed
@wooorm wooorm deleted the hooks-tests branch March 3, 2025 13:45
@wooorm wooorm added the 💪 phase/solved Post is done label Mar 3, 2025
@wooorm
Copy link
Member

wooorm commented Mar 3, 2025

Thanks!

This comment has been minimized.

@github-actions github-actions bot removed the 🤞 phase/open Post is being triaged manually label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕸️ area/tests This affects tests 💪 phase/solved Post is done 🦋 type/enhancement This is great to have
Development

Successfully merging this pull request may close these issues.

3 participants