Fix test-libraries yarn invocation.

This commit is contained in:
Sam Rose 2024-11-20 15:51:21 +00:00
parent 0a3000e3ac
commit e50b12e79e
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -114,9 +114,11 @@ jobs:
- name: Test - name: Test
run: | run: |
if ${{ env.ONLY_AFFECTED_TASKS }}; then 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 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 fi
test-worker: test-worker:

View File

@ -90,7 +90,7 @@ describe("Automation Binding Update Functions", () => {
1 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({ expect(result[2].inputs.branches[0].condition.equal).toEqual({
"stepsByName.Renamed Step.success": true, "stepsByName.Renamed Step.success": true,