Skip to content

Conversation

@MatiPl01
Copy link
Member

@MatiPl01 MatiPl01 commented Dec 6, 2025

Summary

This PR adds support for android/ios-specific unit tests created by adding the ios/android near the .test.ts(x) suffix in the test file name. This makes writing platform-specifc tests simpler than before and doesn't require complex jest mocks.

@MatiPl01 MatiPl01 self-assigned this Dec 6, 2025
@MatiPl01 MatiPl01 marked this pull request as ready for review December 6, 2025 18:02
@MatiPl01 MatiPl01 requested a review from tjzel December 6, 2025 18:03
Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extensions of the files should be .test.web.ts, not .web.test.ts to make it compliant with TypeScript resolutions #8371

@MatiPl01 MatiPl01 force-pushed the @matipl01/web-jsdom-for-web-jest-tests branch from 7b75a58 to 6ab6ed7 Compare December 9, 2025 16:05
Base automatically changed from @matipl01/web-jsdom-for-web-jest-tests to main December 9, 2025 17:01
@MatiPl01 MatiPl01 force-pushed the @matipl01/native-platform-specific-jest-tests branch from 56b7b36 to 959641c Compare December 9, 2025 17:16
@MatiPl01 MatiPl01 added this pull request to the merge queue Dec 9, 2025
Merged via the queue into main with commit 9d20c4c Dec 9, 2025
12 checks passed
@MatiPl01 MatiPl01 deleted the @matipl01/native-platform-specific-jest-tests branch December 9, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants