[TS migration] Migrate ValidationUtilsTest to Typescript#36920
[TS migration] Migrate ValidationUtilsTest to Typescript#36920youssef-lr merged 5 commits intoExpensify:mainfrom
Conversation
| expect(ValidationUtils.isValidAccountRoute(0)).toBe(false); | ||
| expect(ValidationUtils.isValidAccountRoute('123aaa')).toBe(false); | ||
| expect(ValidationUtils.isValidAccountRoute('123aaa' as unknown as number)).toBe(false); | ||
| }); |
There was a problem hiding this comment.
I think that test case can be removed because its handled by TS? WDYT?
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25292 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
@ruben-rebelo Can you resolve conflicts? |
|
Sorry didn't see conflicts, will approve again once fixed. |
|
friendly bump @ruben-rebelo |
# Conflicts: # src/libs/ValidationUtils.ts
|
Hello @youssef-lr, I've fixed the conflicts. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 1.4.47-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀
|
Details
[TS migration] Migrate ValidationUtilsTest unit test to typescript
Fixed Issues
$ #25292
PROPOSAL: N/A
Tests
Verify that no errors appear in the JS console
Run unit tests should pass
Offline tests
N/A
QA Steps
Same as in the Tests section.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
N/a
Android: mWeb Chrome
N/a
iOS: Native
N/a
iOS: mWeb Safari
N/a
MacOS: Chrome / Safari
N/a
MacOS: Desktop
N/a