Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test: update goal fixtures to timeUsedSubsecNanos

Steven Enamakeld605b0496da8
diff --git a/app/src/features/conversations/aui/taskCardHistory.test.ts b/app/src/features/conversations/aui/taskCardHistory.test.ts
index 36600aa011..70bc1a6f83 100644
--- a/app/src/features/conversations/aui/taskCardHistory.test.ts
+++ b/app/src/features/conversations/aui/taskCardHistory.test.ts
@@ -28,7 +28,7 @@ describe('turn task attachment', () => {
tokenBudget: null,
createdAtMs: 1,
updatedAtMs: 1,
- continuationSuppressed: false,
+ timeUsedSubsecNanos: 0,
},
},
true
diff --git a/app/src/features/conversations/aui/useThreadGoal.test.tsx b/app/src/features/conversations/aui/useThreadGoal.test.tsx
index 76a7079c20..4a88f2a8a5 100644
--- a/app/src/features/conversations/aui/useThreadGoal.test.tsx
+++ b/app/src/features/conversations/aui/useThreadGoal.test.tsx
@@ -52,7 +52,7 @@ describe('useLoadThreadGoal', () => {
tokenBudget: null,
createdAtMs: 1,
updatedAtMs: 1,
- continuationSuppressed: false,
+ timeUsedSubsecNanos: 0,
};
vi.mocked(threadApi.getGoal).mockResolvedValue(goal);
const { store, wrapper } = setup();
diff --git a/app/src/providers/__tests__/useOpenHumanExternalStore.quote.test.tsx b/app/src/providers/__tests__/useOpenHumanExternalStore.quote.test.tsx
index e448d40307..b5e0cdc6b2 100644
--- a/app/src/providers/__tests__/useOpenHumanExternalStore.quote.test.tsx
+++ b/app/src/providers/__tests__/useOpenHumanExternalStore.quote.test.tsx
@@ -16,9 +16,8 @@ import { beforeEach, describe, expect, it, vi } from 'vitest';
import type { ContentPart } from '../../services/chatWire';
import chatRuntimeReducer from '../../store/chatRuntimeSlice';
-import threadReducer from '../../store/threadSlice';
import { editMessage } from '../../services/chatService';
-import { loadThreadMessages } from '../../store/threadSlice';
+import threadReducer, { loadThreadMessages } from '../../store/threadSlice';
import { registerChatSurface } from '../chatSurfaceHandlers';
import { useOpenHumanExternalStore } from '../useOpenHumanExternalStore';
diff --git a/app/src/store/threadGoalSlice.test.ts b/app/src/store/threadGoalSlice.test.ts
index 99ac3f928a..b2b9082e4e 100644
--- a/app/src/store/threadGoalSlice.test.ts
+++ b/app/src/store/threadGoalSlice.test.ts
@@ -14,7 +14,7 @@ const goal = {
tokenBudget: 1000,
createdAtMs: 1,
updatedAtMs: 1,
- continuationSuppressed: false,
+ timeUsedSubsecNanos: 0,
};
describe('threadGoalSlice', () => {