Skip to content

Commit b749dd6

Browse files
committed
fix test
1 parent 403acda commit b749dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api/src/routers/api/__tests__/sources.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Types } from 'mongoose';
44
import { getLoggedInAgent, getServer } from '@/fixtures';
55
import { Source } from '@/models/source';
66

7-
const MOCK_SOURCE: Extract<TSourceUnion, { kind: 'log' }> = {
7+
const MOCK_SOURCE: Omit<Extract<TSourceUnion, { kind: 'log' }>, 'id'> = {
88
kind: SourceKind.Log,
99
name: 'Test Source',
1010
connection: new Types.ObjectId().toString(),

0 commit comments

Comments
 (0)