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

electrode-io / electrode-native / 7410

09 Jul 2025 02:03AM UTC coverage: 60.024% (-0.3%) from 60.306%
7410

push

Azure Pipelines

web-flow
Merge pull request #1914 from r0h0gg6/upgrade-rn-0.77

Upgrade ERN to support RN 0.77

3817 of 7723 branches covered (49.42%)

Branch coverage included in aggregate %.

41 of 91 new or added lines in 11 files covered. (45.05%)

12 existing lines in 6 files now uncovered.

9938 of 15193 relevant lines covered (65.41%)

547.76 hits per line

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

28.57
/ern-core/src/getCodePushInitConfig.ts
1
import fs from 'fs';
24✔
2
import path from 'path';
24✔
3
import config from './config';
24✔
4
import { CodePushInitConfig } from './CodePushSdk';
5

6
export function getCodePushInitConfig(): CodePushInitConfig {
24✔
UNCOV
7
  const codePushConfigFilePath = path.join(
×
8
    process.env.LOCALAPPDATA || process.env.HOME || '',
×
9
    '.code-push.config',
10
  );
11
  let codePushInitConfig: CodePushInitConfig;
UNCOV
12
  if (fs.existsSync(codePushConfigFilePath)) {
×
13
    codePushInitConfig = JSON.parse(
×
14
      fs.readFileSync(codePushConfigFilePath, 'utf-8'),
15
    );
16
  } else {
UNCOV
17
    codePushInitConfig = {
×
18
      accessKey: config.get('codePushAccessKey'),
19
      customHeaders: config.get('codePushCustomHeaders'),
20
      customServerUrl: config.get('codePushCustomServerUrl'),
21
      proxy: config.get('codePushProxy'),
22
    };
23
  }
UNCOV
24
  return codePushInitConfig;
×
25
}
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