From e50b12e79e709d195707217d7971b998db0fb721 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Wed, 20 Nov 2024 15:51:21 +0000 Subject: [PATCH] Fix test-libraries yarn invocation. --- .github/workflows/budibase_ci.yml | 6 ++++-- packages/builder/src/helpers/tests/nameHelpers.spec.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index f1ed6eb87e..af286a1237 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -114,9 +114,11 @@ jobs: - name: Test run: | if ${{ env.ONLY_AFFECTED_TASKS }}; then - yarn test -- --ignore=@budibase/worker --ignore=@budibase/server --no-prefix --since=${{ env.NX_BASE_BRANCH }} -- --verbose --reporters=default --reporters=github-actions + yarn test -- --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/builder --no-prefix --since=${{ env.NX_BASE_BRANCH }} -- --verbose --reporters=default --reporters=github-actions + yarn test -- --scope=@budibase/builder --since=${{ env.NX_BASE_BRANCH }} else - yarn test -- --ignore=@budibase/worker --ignore=@budibase/server --no-prefix -- --verbose --reporters=default --reporters=github-actions + yarn test -- --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/builder --no-prefix -- --verbose --reporters=default --reporters=github-actions + yarn test -- --scope=@budibase/builder fi test-worker: diff --git a/packages/builder/src/helpers/tests/nameHelpers.spec.js b/packages/builder/src/helpers/tests/nameHelpers.spec.js index 1ce2d1987a..167d9c29ae 100644 --- a/packages/builder/src/helpers/tests/nameHelpers.spec.js +++ b/packages/builder/src/helpers/tests/nameHelpers.spec.js @@ -90,7 +90,7 @@ describe("Automation Binding Update Functions", () => { 1 ) - expect(result[1].name).toBe("Second Step") + expect(result[1].name).toBe("Second Step fail") expect(result[2].inputs.branches[0].condition.equal).toEqual({ "stepsByName.Renamed Step.success": true,