Skip to content

fix: fixed staff account id redirection #112

fix: fixed staff account id redirection

fix: fixed staff account id redirection #112

Triggered via pull request January 7, 2025 22:20
Status Failure
Total duration 2m 36s
Artifacts

business-registry-ui-ci.yaml

on: pull_request
business-registry-ui-ci  /  detemine-package-manager
3s
business-registry-ui-ci / detemine-package-manager
Matrix: business-registry-ui-ci / linting-npm
Matrix: business-registry-ui-ci / linting-pnpm
Matrix: business-registry-ui-ci / unit-testing-npm
Matrix: business-registry-ui-ci / verify-build-npm
Matrix: business-registry-ui-ci / unit-testing-pnpm
Matrix: business-registry-ui-ci / verify-build
business-registry-ui-ci  /  code-coverage-npm
0s
business-registry-ui-ci / code-coverage-npm
business-registry-ui-ci  /  code-coverage
0s
business-registry-ui-ci / code-coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > loadAffiliations > should fetch and set affiliations correctly: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L196
AssertionError: expected "spy" to be called with arguments: [ '/orgs/123/affiliations?new=true' ] Received: Number of calls: 0 ❯ ../tests/unit/stores/affiliations.test.ts:196:7
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > loadAffiliations > should use route param orgId when user is staff: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L219
AssertionError: expected "spy" to be called with arguments: [ '/orgs/456/affiliations?new=true' ] Received: Number of calls: 0 ❯ ../tests/unit/stores/affiliations.test.ts:219:7
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > loadAffiliations > should handle an empty API response correctly: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L233
AssertionError: expected "spy" to be called once, but got 0 times ❯ ../tests/unit/stores/affiliations.test.ts:233:7
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > loadAffiliations > should handle fetch errors: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L274
AssertionError: expected "error" to be called with arguments: [ Array(1) ] Received: 1st error call: Array [ - "Error retrieving businesses: 400 - NOT FOUND ", + "Error retrieving businesses: undefined - undefined ", ] Number of calls: 1 ❯ ../tests/unit/stores/affiliations.test.ts:274:7
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > resetAffiliations should reset affiliations correctly: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L306
AssertionError: expected "spy" to be called 2 times, but got 0 times ❯ ../tests/unit/stores/affiliations.test.ts:306:5
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > should call loadAffiliations when currentAccount ID changes: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L334
AssertionError: expected "spy" to be called 2 times, but got 0 times ❯ ../tests/unit/stores/affiliations.test.ts:334:5
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > affiliation filtering > filter by name > should filter a business object: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L479
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ ../tests/unit/stores/affiliations.test.ts:479:9
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > affiliation filtering > filter by number > should filter a name request object: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L509
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ ../tests/unit/stores/affiliations.test.ts:509:9
../tests/unit/stores/affiliations.test.ts > useAffiliationsStore > affiliation filtering > filter by number > should filter a business object: business-registry-dashboard/tests/unit/stores/affiliations.test.ts#L527
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ ../tests/unit/stores/affiliations.test.ts:527:9
business-registry-ui-ci / detemine-package-manager
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
business-registry-ui-ci / linting-pnpm (21, 9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
business-registry-ui-ci / unit-testing-pnpm (21, 9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
business-registry-ui-ci / verify-build (21, 9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636