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

electrode-io / electrode-native / 7493

24 Oct 2025 12:58AM UTC coverage: 59.986% (-0.04%) from 60.023%
7493

push

Azure Pipelines

r0h0gg6
Merge pull request #1918 from electrode-io/cuid2-fix-2

Update yarn.lock

3815 of 7725 branches covered (49.39%)

Branch coverage included in aggregate %.

2 of 5 new or added lines in 1 file covered. (40.0%)

28 existing lines in 5 files now uncovered.

9938 of 15202 relevant lines covered (65.37%)

547.46 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

© 2025 Coveralls, Inc