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

thoughtspot / visual-embed-sdk / #1395

13 Jan 2025 10:17AM UTC coverage: 47.499% (-46.4%) from 93.86%
#1395

Pull #65

Prashant.patil
SCAL-233454-exp adding index.mobil.ts
Pull Request #65: test-exported memb

337 of 1108 branches covered (30.42%)

Branch coverage included in aggregate %.

80 of 342 new or added lines in 11 files covered. (23.39%)

872 existing lines in 20 files now uncovered.

1448 of 2650 relevant lines covered (54.64%)

9.46 hits per line

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

80.0
/src/embed/embedConfig.ts
1
import { WebViewConfig } from 'src/native/types';
2
import { EmbedConfig } from '../types';
3

4
let config = {} as EmbedConfig;
26✔
5
let nativeConfig = {} as WebViewConfig;
26✔
6

7
/**
8
 * Gets the configuration embed was initialized with.
9
 * @returns {@link EmbedConfig} The configuration embed was initialized with.
10
 * @version SDK: 1.19.0 | ThoughtSpot: *
11
 * @group Global methods
12
 */
13
export const getEmbedConfig = (): EmbedConfig => config;
35✔
14
export const getMobileEmbedConfig = (): WebViewConfig => nativeConfig;
26✔
15

16
/**
17
 * Sets the configuration embed was initialized with.
18
 * And returns the new configuration.
19
 * @param newConfig The configuration to set.
20
 * @version SDK: 1.27.0 | ThoughtSpot: *
21
 * @group Global methods
22
 */
23
export const setEmbedConfig = (newConfig: EmbedConfig) => {
26✔
24
    config = newConfig;
1✔
25
    return newConfig;
1✔
26
};
27

28
/**
29
 * Sets the configuration embed was initialized with.
30
 * And returns the new configuration.
31
 * @param newConfig The configuration to set.
32
 * @version SDK: 1.35.3 | ThoughtSpot: 10.6.0.cl
33
 * @group Global methods
34
 */
35
export const setMobileEmbedConfig = (newConfig: WebViewConfig) => {
26✔
NEW
36
    nativeConfig = newConfig;
×
NEW
37
    return newConfig;
×
38
};
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