• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / storage / 25738155938

12 May 2026 01:38PM UTC coverage: 39.251% (-35.1%) from 74.366%
25738155938

Pull #1094

github

web-flow
Merge 0f3efcca0 into defbbb616
Pull Request #1094: feat: embedded vector store

2188 of 6152 branches covered (35.57%)

Branch coverage included in aggregate %.

88 of 280 new or added lines in 6 files covered. (31.43%)

3689 existing lines in 165 files now uncovered.

4312 of 10408 relevant lines covered (41.43%)

34.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

26.67
/src/http/plugins/empty-json-body.ts
1
import { FastifyInstance } from 'fastify'
2

3
export function registerJsonParserAllowingEmptyBody(fastify: FastifyInstance) {
4
  const defaultJsonParser = fastify.getDefaultJsonParser(
2✔
5
    fastify.initialConfig.onProtoPoisoning ?? 'error',
2!
6
    fastify.initialConfig.onConstructorPoisoning ?? 'error'
2!
7
  )
8

9
  fastify.addContentTypeParser('application/json', { parseAs: 'string' }, (request, body, done) => {
2✔
UNCOV
10
    if (!body) {
×
UNCOV
11
      done(null, null)
×
UNCOV
12
      return
×
13
    }
14

15
    const jsonBody = typeof body === 'string' ? body : body.toString('utf8')
×
16

UNCOV
17
    defaultJsonParser(request, jsonBody, done)
×
18
  })
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc