π Refresh affect trackers after filing trackers #697
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
|