Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit 750ba55

Browse files
committed
fix: mock types
1 parent 937439b commit 750ba55

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/features/alerts/mocks/alert-malicious.mock.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { AlertConversation, QuestionType } from "@/api/generated";
22

33
export const ALERT_MALICIOUS = {
44
conversation: {
5+
token_usage: {
6+
tokens_by_model: [],
7+
used_tokens: 1000,
8+
},
59
question_answers: [
610
{
711
question: {

src/features/alerts/mocks/alert-secret.mock.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { AlertConversation, QuestionType } from "@/api/generated";
22

33
export const ALERT_SECRET = {
44
conversation: {
5+
token_usage: {
6+
tokens_by_model: [],
7+
used_tokens: 1000,
8+
},
59
question_answers: [
610
{
711
question: {

0 commit comments

Comments
 (0)