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

supabase / supabase-js / 7065344998

01 Dec 2023 09:23PM UTC coverage: 65.385%. Remained the same
7065344998

Pull #921

github

web-flow
Merge 110c2bd1e into f39007a55
Pull Request #921: feat: version bump realtime-js to 2.9.0

47 of 92 branches covered (0.0%)

Branch coverage included in aggregate %.

89 of 116 relevant lines covered (76.72%)

4.35 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