rbelavadi commented on code in PR #7043:
URL: https://github.com/apache/texera/pull/7043#discussion_r3685850190


##########
frontend/src/app/dashboard/component/user/user-dataset/user-dataset-explorer/dataset-detail.component.spec.ts:
##########
@@ -90,6 +90,17 @@ describe("DatasetDetailComponent upload queue", () => {
               })
             ),
             retrieveDatasetVersionList: vi.fn(() => of([])),
+            retrieveDatasetLatestVersion: vi.fn(() =>
+              of({
+                dvid: 1,
+                did: 1,
+                creatorUid: 1,

Review Comment:
   Added retrieveDatasetVersionFileTree to the stub in the upload-queue test 
block, it was the only one missing it (the other stub already had it). This was 
a latent crash risk since it's triggered via ngOnInit on detectChanges()



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to