Skip to content

Commit 894a163

Browse files
committed
test: assert hidden fallback failure calls
1 parent c3c3a20 commit 894a163

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

__tests__/client.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ describe('client helpers', () => {
187187
await expect(findFileByName(bucket, 'missing.txt')).rejects.toThrow(
188188
`File not found in bucket "${BUCKET}": missing.txt`,
189189
)
190+
expect(listFileNames).toHaveBeenCalledWith({ prefix: 'missing.txt', pageSize: 1 })
191+
expect(listFileVersions).toHaveBeenCalledWith({ prefix: 'missing.txt', pageSize: 1 })
190192
})
191193

192194
it('rejects prefix matches that are not exact file names', async () => {

0 commit comments

Comments
 (0)