Skip to content

Commit ae62af7

Browse files
committed
fix: mock types
1 parent 0e4b571 commit ae62af7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

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

+4
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

+4
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)