Skip to content

Conversation

@Adityacode-hub
Copy link

Summary

This PR fixes Jest test failures in SensorsBlocks by:

  • Adding mock base classes (ValueBlock, BooleanSensorBlock) for testing.
  • Adjusting GetColorMediaBlock for test-safe behavior.

Testing

Locally verified with:
npm test js/blocks/__tests__/SensorsBlocks.test.js

Notes

If CI reports further Jest errors, I’ll fix and push updates to this branch.

@github-actions
Copy link
Contributor

❌ Some Jest tests failed. Please check the logs and fix the issues before merging.

Failed Tests:

SensorsBlocks.test.js

@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2025

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

@omsuneri
Copy link
Member

omsuneri commented Nov 3, 2025

while running test suites locally i m not getting any sort of failure of the sensorsblock test
closing this rn
thanks !!

@omsuneri
Copy link
Member

omsuneri commented Nov 3, 2025

again it has some of the linting issues

@omsuneri omsuneri closed this Nov 3, 2025
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