Skip to content

πŸ› Refresh affect trackers after filing trackers #697

πŸ› Refresh affect trackers after filing trackers

πŸ› Refresh affect trackers after filing trackers #697

Triggered via pull request January 16, 2025 16:07
Status Failure
Total duration 1m 22s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
src/composables/__tests__/useFlawAffectsModel.spec.ts: src/composables/useFlaw.ts#L7
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/composables/useFlaw.ts:7:1 Caused by: Caused by: TypeError: (0 , useRelatedFlaws) is not a function ❯ src/composables/useRelatedFlawTrackers.ts:59:52 ❯ src/components/TrackerManager/TrackerManager.vue:12:1
src/composables/__tests__/useFlawAttributionsModel.spec.ts: src/composables/useRelatedFlawTrackers.ts#L59
TypeError: (0 , useRelatedFlaws) is not a function ❯ src/composables/useRelatedFlawTrackers.ts:59:52 ❯ src/components/TrackerManager/TrackerManager.vue:12:1
src/composables/__tests__/useFlawModel.spec.ts: src/composables/useRelatedFlawTrackers.ts#L59
TypeError: (0 , useRelatedFlaws) is not a function ❯ src/composables/useRelatedFlawTrackers.ts:59:52 ❯ src/components/TrackerManager/TrackerManager.vue:12:1
src/composables/__tests__/useRelatedFlawTrackers.spec.ts > useRelatedFlawTrackers > initializes correctly: src/composables/__tests__/useRelatedFlawTrackers.spec.ts#L58
AssertionError: expected [ 'fileTrackers', …(13) ] to deeply equal [ 'fileTrackers', …(12) ] - Expected + Received Array [ "fileTrackers", "synchronizeTrackerSelections", "addRelatedFlaw", + "refreshRelatedFlaws", "filterString", "isFilingTrackers", "trackersToFile", "affectsBySelectedFlawId", "shouldFileAsMultiFlaw", "multiFlawTrackers", "isLoadingTrackers", "selectedStreams", "unselectedStreams", "trackerFetchProgress", ] ❯ src/composables/__tests__/useRelatedFlawTrackers.spec.ts:58:33
src/services/__tests__/FlawService.spec.ts: src/composables/useRelatedFlawTrackers.ts#L59
TypeError: (0 , useRelatedFlaws) is not a function ❯ src/composables/useRelatedFlawTrackers.ts:59:52 ❯ src/components/TrackerManager/TrackerManager.vue:12:1
src/stores/__tests__/AffectsEditingStore.spec.ts: src/composables/useRelatedFlawTrackers.ts#L59
TypeError: (0 , useRelatedFlaws) is not a function ❯ src/composables/useRelatedFlawTrackers.ts:59:52 ❯ src/components/TrackerManager/TrackerManager.vue:12:1
src/stores/__tests__/DraftFlawStore.spec.ts: src/composables/useRelatedFlawTrackers.ts#L59
TypeError: (0 , useRelatedFlaws) is not a function ❯ src/composables/useRelatedFlawTrackers.ts:59:52 ❯ src/components/TrackerManager/TrackerManager.vue:12:1
src/components/FlawAffects/__tests__/FlawAffects.spec.ts: src/composables/useRelatedFlawTrackers.ts#L59
TypeError: (0 , useRelatedFlaws) is not a function ❯ src/composables/useRelatedFlawTrackers.ts:59:52 ❯ src/components/TrackerManager/TrackerManager.vue:12:1
tests
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636