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

supabase / supabase-js / 7382975635

02 Jan 2024 06:42AM UTC coverage: 65.877%. First build
7382975635

Pull #935

github

web-flow
Merge aff436136 into 80050b59e
Pull Request #935: fix: stop using unstable type params from postgrest-js

47 of 92 branches covered (0.0%)

Branch coverage included in aggregate %.

92 of 119 relevant lines covered (77.31%)

4.47 hits per line

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

61.11
/src/lib/constants.ts
1
// constants.ts
2
import { version } from './version'
4✔
3
let JS_ENV = ''
4✔
4
// @ts-ignore
5
if (typeof Deno !== 'undefined') {
4!
6
  JS_ENV = 'deno'
×
7
} else if (typeof document !== 'undefined') {
4!
8
  JS_ENV = 'web'
×
9
} else if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
4!
10
  JS_ENV = 'react-native'
×
11
} else {
12
  JS_ENV = 'node'
4✔
13
}
14
export const DEFAULT_HEADERS = { 'X-Client-Info': `supabase-js-${JS_ENV}/${version}` }
4✔
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

© 2025 Coveralls, Inc