Skip to content

Commit e37f965

Browse files
committed
test: satisfy optional tools schema typing
1 parent d75460b commit e37f965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/schema.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ describe("config schema", () => {
218218
},
219219
});
220220

221-
expect(parsed.web?.fetch?.readability).toBe(true);
222-
expect(parsed.web?.fetch).toMatchObject({
221+
expect(parsed?.web?.fetch?.readability).toBe(true);
222+
expect(parsed?.web?.fetch).toMatchObject({
223223
firecrawl: {
224224
enabled: true,
225225
apiKey: "firecrawl-test-key",

0 commit comments

Comments
 (0)