Skip to content

Commit 23596ab

Browse files
committed
test(search): drop a non-null assertion from the live read error test
1 parent 9c51348 commit 23596ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/sim-search/live/application.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ describe('authorized live retrieval', () => {
804804
principal,
805805
input: {
806806
workspaceId: 'workspace',
807-
documentId: search.results[0]!.documentId,
807+
documentId: search.results[0]?.documentId ?? '',
808808
limit: 1,
809809
resultSecretRegistry: new ResolvedSecretTraceRegistry([]),
810810
},

0 commit comments

Comments
 (0)