Skip to content

Commit 3d1e33a

Browse files
committed
fix test
1 parent e74a668 commit 3d1e33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/app/api/files/utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ describe('findLocalFile - Path Traversal Security Tests', () => {
412412
]
413413

414414
for (const input of legitimateInputs) {
415-
await expect(findLocalFile(input)).resolves.not.toThrow()
415+
await expect(findLocalFile(input)).resolves.toBeDefined()
416416
}
417417
}
418418
)

0 commit comments

Comments
 (0)