Skip to content

Commit fb37814

Browse files
authored
Fixed Switcher attributes and internal functions visibility (#171)
1 parent 1e362df commit fb37814

File tree

6 files changed

+133
-131
lines changed

6 files changed

+133
-131
lines changed

src/index.d.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,10 @@ declare namespace SwitcherClient {
9797
static clearLogger(): void;
9898

9999
/**
100-
* Enable testing mode
100+
* Enable/Disable test mode
101101
* It prevents from watching Snapshots that may hold process
102102
*/
103-
static setTestEnabled(): void;
104-
105-
/**
106-
* Disable testing mode
107-
*/
108-
static setTestDisabled(): void;
103+
static testMode(testEnabled: boolean): void;
109104

110105
/**
111106
* Validate the input provided to access the API

0 commit comments

Comments
 (0)