From e5f22b5559b44f0cc52658a0dc7390bb4475130c Mon Sep 17 00:00:00 2001 From: VickyStash Date: Tue, 26 Mar 2024 18:40:23 +0100 Subject: [PATCH] Fix TS issues --- workflow_tests/assertions/lockDeploysAssertions.ts | 2 +- workflow_tests/assertions/platformDeployAssertions.ts | 2 +- workflow_tests/assertions/reviewerChecklistAssertions.ts | 3 +-- workflow_tests/assertions/testAssertions.ts | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/workflow_tests/assertions/lockDeploysAssertions.ts b/workflow_tests/assertions/lockDeploysAssertions.ts index 278d413fb972..467e20bc5047 100644 --- a/workflow_tests/assertions/lockDeploysAssertions.ts +++ b/workflow_tests/assertions/lockDeploysAssertions.ts @@ -71,4 +71,4 @@ function assertlockStagingDeploysJobFailedAfterFirstStep(workflowResult: Step[]) }); } -export {assertlockStagingDeploysJobExecuted, assertlockStagingDeploysJobFailedAfterFirstStep}; +export default {assertlockStagingDeploysJobExecuted, assertlockStagingDeploysJobFailedAfterFirstStep}; diff --git a/workflow_tests/assertions/platformDeployAssertions.ts b/workflow_tests/assertions/platformDeployAssertions.ts index b164cd269b4c..a93abd77cca9 100644 --- a/workflow_tests/assertions/platformDeployAssertions.ts +++ b/workflow_tests/assertions/platformDeployAssertions.ts @@ -376,7 +376,7 @@ function assertPostGithubCommentJobExecuted(workflowResult: Step[], didExecute = }); } -export { +export default { assertVerifyActorJobExecuted, assertDeployChecklistJobExecuted, assertAndroidJobExecuted, diff --git a/workflow_tests/assertions/reviewerChecklistAssertions.ts b/workflow_tests/assertions/reviewerChecklistAssertions.ts index 6d74e27df1a0..4be8e1807dc7 100644 --- a/workflow_tests/assertions/reviewerChecklistAssertions.ts +++ b/workflow_tests/assertions/reviewerChecklistAssertions.ts @@ -13,5 +13,4 @@ function assertChecklistJobExecuted(workflowResult: Step[], didExecute = true) { }); } -// eslint-disable-next-line import/prefer-default-export -export {assertChecklistJobExecuted}; +export default {assertChecklistJobExecuted}; diff --git a/workflow_tests/assertions/testAssertions.ts b/workflow_tests/assertions/testAssertions.ts index e0d1d6b37022..06379403a834 100644 --- a/workflow_tests/assertions/testAssertions.ts +++ b/workflow_tests/assertions/testAssertions.ts @@ -54,4 +54,4 @@ function assertShellTestsJobExecuted(workflowResult: Step[], didExecute = true) }); } -export {assertJestJobExecuted, assertShellTestsJobExecuted}; +export default {assertJestJobExecuted, assertShellTestsJobExecuted};