Fix react-pacer import and initialize diff state in test
- update `useDebouncedValue` import to `@tanstack/react-pacer` - add missing `diffThreadId`, `diffTurnId`, and `diffFilePath` in thread continuity test state
This commit is contained in:
1 parent
3afbf93d5e
commit
f07b6ac8e6
2 files changed
+4
-1
No files matched your search
@@ -28,7 +28,7 @@ import {
|
||||
useState,
|
||||
} from "react";
|
||||
import { useMutation, useQueries, useQuery, useQueryClient } from "@tanstack/react-query";
|
||||
import { useDebouncedValue } from "@tanstack/react-pacer/debouncer";
|
||||
import { useDebouncedValue } from "@tanstack/react-pacer";
|
||||
import { gitBranchesQueryOptions, gitCreateWorktreeMutationOptions } from "~/lib/gitReactQuery";
|
||||
import { projectSearchEntriesQueryOptions } from "~/lib/projectReactQuery";
|
||||
import { checkpointDiffQueryOptions } from "~/lib/providerReactQuery";
|
||||
|
||||
@@ -655,6 +655,9 @@ describe("store reducer thread continuity", () => {
|
||||
activeThreadId: "thread-a",
|
||||
runtimeMode: "full-access",
|
||||
diffOpen: false,
|
||||
diffThreadId: null,
|
||||
diffTurnId: null,
|
||||
diffFilePath: null,
|
||||
};
|
||||
|
||||
const next = reducer(state, {
|
||||
|
||||
Reference in new issue
Block a user