Repository navigation
Conversation
| const defaultReturn = Promise.resolve({data: {workflow_runs: []}}); | ||
|
|
||
| if (!_.has(args, 'workflow_id')) { | ||
| if (!args.workflow_id) { |
There was a problem hiding this comment.
The logic is a bit different, this is more accurate:
if (!('workflow_id' in args)) {But the suggested change should work, right?
| }, | ||
| }; | ||
|
|
||
| // @ts-expect-error TODO: Remove this once GithubUtils (https://github.com/Expensify/App/issues/25382) is migrated to TypeScript. |
There was a problem hiding this comment.
Let's hold this PR for now
|
@ruben-rebelo This PR is not on hold anymore, let's move with it to the finish line! |
|
@blazejkustra I've updated this PR, please have a look |
| const moctokit = { | ||
| const moctokit: InternalOctokit = { | ||
| rest: { | ||
| // @ts-expect-error This error was removed because getting the rest of the data from internalOctokit makes the test to break |
There was a problem hiding this comment.
This is needed because InternalOctoKit requires all the data of the object to be passed but in this case for the unit tests we shall only pass listWorkflowRuns otherwise it will break the test
|
@ruben-rebelo FYI Typecheck is failing |
|
@paultsimura Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
paultsimura
left a comment
There was a problem hiding this comment.
Test files migration. Approving ✔️
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25299 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
Reviewer Checklist
Screenshots/Videos❌ internal tooling |
|
✋ 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/marcaaron in version: 1.4.59-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
[TS migration] Migrate *awaitStagingDeploysTest to TypeScript
Fixed Issues
$ #25299
PROPOSAL: N/A
Tests
Verify that no errors appear in the JS console
Run awaitStagingDeploysTest unit test works as before
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