Skip to content

Conversation

@Adityacode-hub
Copy link

This PR adds the necessary test infrastructure to enable Jest testing for the SensorsBlocks module.

Changes Made

  • Added mock base classes for Jest testing environment
  • Added sensor block patches to make tests work properly with Jest
  • Fixed test setup to ensure all SensorsBlocks.test.js tests pass locally

Testing

All SensorsBlocks.test.js tests are now passing locally.

Context

This is part of splitting PR #4784 into smaller, focused pull requests as requested by @walterbender for easier review.

Related Commits

  • 47b3b76: Fix: Added mock base classes and sensor block patches for Jest
  • dc3692e: fix: all SensorsBlocks.test.js tests passing locally

@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@omsuneri
Copy link
Member

@Adityacode-hub please resolve the linting errors !!

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.

2 participants