Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename unmout to destroy
Signed-off-by: Assem Hafez <assem.hafez@uber.com>
  • Loading branch information
Assem-Uber committed Nov 5, 2025
commit 492e54d97d8c643c72c64934f34c0ba5754eb025
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe(WorkflowHistoryFetcher.name, () => {

afterEach(() => {
queryClient.clear();
hoistedFetcher?.unmount();
hoistedFetcher?.destroy();
});

it('should return the current query state from getCurrentState', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default class WorkflowHistoryFetcher {
this.unsubscribe = null;
}
}
unmount(): void {
destroy(): void {
this.stop();
this.observer.destroy();
}
Expand Down