Skip to content

Commit 3eecc86

Browse files
committed
fix: type
1 parent 5268f90 commit 3eecc86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mocks/msw/mockers/alert.mock.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Alert } from "@/api/generated";
1+
import { Alert, AlertSeverity } from "@/api/generated";
22
import { faker } from "@faker-js/faker";
33

44
const ALERT_SECRET_FIELDS = {
@@ -24,7 +24,7 @@ const getBaseAlert = ({
2424
id: faker.string.uuid(),
2525
prompt_id: faker.string.uuid(),
2626
code_snippet: null,
27-
trigger_category: "critical",
27+
trigger_category: AlertSeverity.CRITICAL,
2828
timestamp: timestamp,
2929
});
3030

0 commit comments

Comments
 (0)