@testim/testim-cli 3.288.0 → 3.290.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +22390 -122
- package/cli.js.map +1 -0
- package/npm-shrinkwrap.json +8 -29129
- package/package.json +16 -10
- package/OverrideTestDataBuilder.js +0 -117
- package/agent/routers/cliJsCode/index.js +0 -13
- package/agent/routers/cliJsCode/router.js +0 -63
- package/agent/routers/cliJsCode/service.js +0 -705
- package/agent/routers/codim/router.js +0 -69
- package/agent/routers/codim/router.test.js +0 -60
- package/agent/routers/codim/service.js +0 -193
- package/agent/routers/general/index.js +0 -36
- package/agent/routers/hybrid/registerRoutes.js +0 -81
- package/agent/routers/index.js +0 -56
- package/agent/routers/playground/router.js +0 -77
- package/agent/routers/playground/service.js +0 -96
- package/agent/routers/standalone-browser/registerRoutes.js +0 -47
- package/agent/server.js +0 -150
- package/cdpTestRunner.js +0 -86
- package/chromiumInstaller.js +0 -91
- package/cli/isCiRun.js +0 -10
- package/cli/onExit.js +0 -65
- package/cli/writeStackTrace.js +0 -27
- package/cliAgentMode.js +0 -384
- package/codim/codim-cli.js +0 -91
- package/codim/codim-npm-package/index.ts +0 -427
- package/codim/codim-npm-package/package-lock.json +0 -14
- package/codim/codim-npm-package/package.json +0 -14
- package/codim/hybrid-utils.js +0 -28
- package/codim/measure-perf.js +0 -41
- package/codim/template.js/.idea/workspace.xml +0 -57
- package/codim/template.js/.vscode/launch.json +0 -53
- package/codim/template.ts/.idea/workspace.xml +0 -57
- package/codim/template.ts/.vscode/launch.json +0 -55
- package/commons/AbortError.js +0 -12
- package/commons/SeleniumPerfStats.js +0 -58
- package/commons/chrome-launcher.js +0 -15
- package/commons/chromedriverWrapper.js +0 -70
- package/commons/config.js +0 -39
- package/commons/constants.js +0 -67
- package/commons/detectDebugger.js +0 -19
- package/commons/featureAvailabilityService.js +0 -26
- package/commons/featureFlags.js +0 -132
- package/commons/getSessionPlayerRequire.js +0 -28
- package/commons/httpRequest.js +0 -261
- package/commons/httpRequestCounters.js +0 -98
- package/commons/httpRequestCounters.test.js +0 -38
- package/commons/initializeUserWithAuth.js +0 -55
- package/commons/lazyRequire.js +0 -105
- package/commons/logUtils.js +0 -15
- package/commons/logUtils.test.js +0 -21
- package/commons/logger.js +0 -178
- package/commons/mockNetworkRuleFileSchema.json +0 -140
- package/commons/npmWrapper.js +0 -174
- package/commons/npmWrapper.test.js +0 -374
- package/commons/performance-logger.js +0 -71
- package/commons/preloadTests.js +0 -29
- package/commons/prepareRunner.js +0 -85
- package/commons/prepareRunner.test.js +0 -144
- package/commons/prepareRunnerAndTestimStartUtils.js +0 -198
- package/commons/prepareRunnerAndTestimStartUtils.test.js +0 -73
- package/commons/requireWithFallback.js +0 -25
- package/commons/runnerFileCache.js +0 -204
- package/commons/socket/baseSocketServiceSocketIO.js +0 -197
- package/commons/socket/realDataService.js +0 -59
- package/commons/socket/realDataServiceSocketIO.js +0 -33
- package/commons/socket/remoteStepService.js +0 -55
- package/commons/socket/remoteStepServiceSocketIO.js +0 -61
- package/commons/socket/socketService.js +0 -175
- package/commons/socket/testResultService.js +0 -62
- package/commons/socket/testResultServiceSocketIO.js +0 -64
- package/commons/testimAnalytics.js +0 -40
- package/commons/testimCloudflare.js +0 -83
- package/commons/testimCloudflare.test.js +0 -185
- package/commons/testimCustomToken.js +0 -124
- package/commons/testimDesiredCapabilitiesBuilder.js +0 -647
- package/commons/testimNgrok.js +0 -90
- package/commons/testimNgrok.test.js +0 -140
- package/commons/testimServicesApi.js +0 -631
- package/commons/testimTunnel.js +0 -73
- package/commons/testimTunnel.test.js +0 -172
- package/commons/xhr2.js +0 -897
- package/coverage/SummaryToObjectReport.js +0 -19
- package/coverage/jsCoverage.js +0 -252
- package/credentialsManager.js +0 -142
- package/errors.js +0 -161
- package/executionQueue.js +0 -37
- package/fixLocalBuild.js +0 -24
- package/inputFileUtils.js +0 -103
- package/lib/coralogix-winston.transport.js +0 -99
- package/player/SeleniumProtocolError.js +0 -100
- package/player/WebDriverHttpRequest.js +0 -177
- package/player/WebdriverioWebDriverApi.js +0 -671
- package/player/appiumTestPlayer.js +0 -90
- package/player/chromeLauncherTestPlayer.js +0 -67
- package/player/constants.js +0 -332
- package/player/extensionTestPlayer.js +0 -32
- package/player/findElementStrategy.js +0 -154
- package/player/scripts/isElementDisplayed.js +0 -252
- package/player/seleniumTestPlayer.js +0 -140
- package/player/services/frameLocator.js +0 -170
- package/player/services/mobileFrameLocatorMock.js +0 -32
- package/player/services/playbackTimeoutCalculator.js +0 -175
- package/player/services/portSelector.js +0 -19
- package/player/services/tabService.js +0 -551
- package/player/services/tabServiceMock.js +0 -167
- package/player/services/windowCreationListener.js +0 -8
- package/player/stepActions/RefreshStepAction.js +0 -16
- package/player/stepActions/apiStepAction.js +0 -89
- package/player/stepActions/baseCliJsStepAction.js +0 -51
- package/player/stepActions/baseJsStepAction.js +0 -277
- package/player/stepActions/cliConditionStepAction.js +0 -11
- package/player/stepActions/cliJsStepAction.js +0 -11
- package/player/stepActions/dropFileStepAction.js +0 -34
- package/player/stepActions/evaluateExpressionStepAction.js +0 -52
- package/player/stepActions/extensionOnlyStepAction.js +0 -12
- package/player/stepActions/extractTextStepAction.js +0 -19
- package/player/stepActions/hoverStepAction.js +0 -55
- package/player/stepActions/inputFileStepAction.js +0 -199
- package/player/stepActions/jsCodeStepAction.js +0 -11
- package/player/stepActions/jsConditionStepAction.js +0 -11
- package/player/stepActions/locateStepAction.js +0 -159
- package/player/stepActions/mouseStepAction.js +0 -370
- package/player/stepActions/navigationStepAction.js +0 -29
- package/player/stepActions/nodePackageStepAction.js +0 -47
- package/player/stepActions/pixelValidationStepAction.js +0 -39
- package/player/stepActions/scripts/dispatchEvents.js +0 -282
- package/player/stepActions/scripts/doClick.js +0 -221
- package/player/stepActions/scripts/doDragPath.js +0 -225
- package/player/stepActions/scripts/doubleClick.js +0 -119
- package/player/stepActions/scripts/dropEvent.js +0 -63
- package/player/stepActions/scripts/focusElement.js +0 -46
- package/player/stepActions/scripts/html5dragAction.js +0 -56
- package/player/stepActions/scripts/html5dragActionV2.js +0 -312
- package/player/stepActions/scripts/runCode.js +0 -147
- package/player/stepActions/scripts/scroll.js +0 -90
- package/player/stepActions/scripts/selectOption.js +0 -51
- package/player/stepActions/scripts/setText.js +0 -415
- package/player/stepActions/scripts/wheel.js +0 -61
- package/player/stepActions/scrollStepAction.js +0 -96
- package/player/stepActions/selectOptionStepAction.js +0 -49
- package/player/stepActions/sfdcRecordedStepAction.js +0 -24
- package/player/stepActions/sfdcStepAction.js +0 -28
- package/player/stepActions/sleepStepAction.js +0 -12
- package/player/stepActions/specialKeyStepAction.js +0 -52
- package/player/stepActions/stepAction.js +0 -73
- package/player/stepActions/stepActionRegistrar.js +0 -111
- package/player/stepActions/submitStepAction.js +0 -12
- package/player/stepActions/tdkHybridStepAction.js +0 -18
- package/player/stepActions/textStepAction.js +0 -110
- package/player/stepActions/textValidationStepAction.js +0 -64
- package/player/stepActions/wheelStepAction.js +0 -41
- package/player/utils/cookieUtils.js +0 -39
- package/player/utils/eyeSdkService.js +0 -250
- package/player/utils/imageCaptureUtils.js +0 -267
- package/player/utils/screenshotUtils.js +0 -68
- package/player/utils/stepActionUtils.js +0 -90
- package/player/utils/windowUtils.js +0 -195
- package/player/webDriverUtils.js +0 -40
- package/player/webDriverUtils.test.js +0 -116
- package/player/webdriver.js +0 -976
- package/polyfills/Array.prototype.at.js +0 -13
- package/polyfills/index.js +0 -9
- package/processHandler.js +0 -79
- package/processHandler.test.js +0 -55
- package/reports/chromeReporter.js +0 -17
- package/reports/consoleReporter.js +0 -190
- package/reports/debugReporter.js +0 -82
- package/reports/jsonReporter.js +0 -55
- package/reports/junitReporter.js +0 -183
- package/reports/reporter.js +0 -166
- package/reports/reporterUtils.js +0 -54
- package/reports/teamCityReporter.js +0 -73
- package/runOptions.d.ts +0 -305
- package/runOptions.js +0 -1288
- package/runOptionsAgentFlow.js +0 -87
- package/runOptionsUtils.js +0 -60
- package/runner.js +0 -355
- package/runners/ParallelWorkerManager.js +0 -284
- package/runners/TestPlanRunner.js +0 -419
- package/runners/buildCodeTests.js +0 -159
- package/runners/runnerUtils.js +0 -81
- package/services/analyticsService.js +0 -96
- package/services/branchService.js +0 -29
- package/services/gridService.js +0 -357
- package/services/gridService.test.js +0 -357
- package/services/labFeaturesService.js +0 -64
- package/services/lambdatestService.js +0 -227
- package/services/lambdatestService.test.js +0 -353
- package/services/localRCASaver.js +0 -124
- package/stepPlayers/cliJsStepPlayback.js +0 -40
- package/stepPlayers/hybridStepPlayback.js +0 -140
- package/stepPlayers/nodePackageStepPlayback.js +0 -28
- package/stepPlayers/playwrightHybridStepPlayback.js +0 -61
- package/stepPlayers/puppeteerHybridStepPlayback.js +0 -76
- package/stepPlayers/remoteStepPlayback.js +0 -80
- package/stepPlayers/seleniumHybridStepPlayback.js +0 -84
- package/stepPlayers/tdkHybridStepPlayback.js +0 -112
- package/testRunHandler.js +0 -603
- package/testRunStatus.js +0 -567
- package/testimNpmDriver.js +0 -52
- package/utils/argsUtils.js +0 -91
- package/utils/argsUtils.test.js +0 -32
- package/utils/fsUtils.js +0 -174
- package/utils/index.js +0 -197
- package/utils/promiseUtils.js +0 -85
- package/utils/stringUtils.js +0 -98
- package/utils/stringUtils.test.js +0 -22
- package/utils/timeUtils.js +0 -25
- package/utils/utils.test.js +0 -27
- package/workers/BaseWorker.js +0 -498
- package/workers/BaseWorker.test.js +0 -186
- package/workers/WorkerAppium.js +0 -180
- package/workers/WorkerExtension.js +0 -192
- package/workers/WorkerExtensionSingleBrowser.js +0 -77
- package/workers/WorkerSelenium.js +0 -253
- package/workers/workerUtils.js +0 -20
package/commons/testimNgrok.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const { ArgError } = require('../errors');
|
|
4
|
-
const utils = require('../utils');
|
|
5
|
-
const lazyRequire = require('./lazyRequire');
|
|
6
|
-
const logger = require('./logger').getLogger('testimNgrok');
|
|
7
|
-
|
|
8
|
-
const WHITELISTED_TUNNEL_DOMAIN_SUFFIX = '.whitelisted-ngrok.testim.io';
|
|
9
|
-
|
|
10
|
-
let ngrokTunnelUrl = '';
|
|
11
|
-
let statsTimeout;
|
|
12
|
-
|
|
13
|
-
const connectTunnel = async (options, authData = {}) => {
|
|
14
|
-
if (!authData.ngrokToken) {
|
|
15
|
-
throw new ArgError('tunnel feature is not enabled, please contact support - info@testim.io.');
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
let hostname;
|
|
19
|
-
if (authData.isNgrokWhitelisted) {
|
|
20
|
-
hostname = `${utils.guid()}-${options.projectData.projectId}${WHITELISTED_TUNNEL_DOMAIN_SUFFIX}`;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const connectOpt = {
|
|
24
|
-
proto: 'http',
|
|
25
|
-
addr: options.tunnelPort || 80,
|
|
26
|
-
authtoken: authData.ngrokToken,
|
|
27
|
-
hostname,
|
|
28
|
-
};
|
|
29
|
-
if (options.tunnelHostHeader) {
|
|
30
|
-
// eslint-disable-next-line camelcase
|
|
31
|
-
connectOpt.host_header = options.tunnelHostHeader;
|
|
32
|
-
}
|
|
33
|
-
if (options.tunnelRegion) {
|
|
34
|
-
connectOpt.region = options.tunnelRegion;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
const ngrok = await lazyRequire('ngrok');
|
|
38
|
-
const url = await ngrok.connect(connectOpt);
|
|
39
|
-
|
|
40
|
-
if (options.tunnelUseHttpAddress && url.startsWith('https://')) {
|
|
41
|
-
logger.info('replace https to http');
|
|
42
|
-
const newUrl = url.replace('https://', 'http://');
|
|
43
|
-
|
|
44
|
-
ngrokTunnelUrl = newUrl;
|
|
45
|
-
} else {
|
|
46
|
-
ngrokTunnelUrl = url;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
if (options.tunnelDiagnostics) {
|
|
50
|
-
module.exports.collectNgrokStats();
|
|
51
|
-
}
|
|
52
|
-
options.baseUrl = ngrokTunnelUrl;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
const collectNgrokStats = async (rerun = true) => {
|
|
56
|
-
try {
|
|
57
|
-
const ngrok = await lazyRequire('ngrok');
|
|
58
|
-
const api = ngrok.getApi();
|
|
59
|
-
const { tunnels } = await api.get({ url: 'api/tunnels', json: true });
|
|
60
|
-
const tunnel = tunnels.find(t => t.public_url === ngrokTunnelUrl);
|
|
61
|
-
|
|
62
|
-
// eslint-disable-next-line no-console
|
|
63
|
-
console.log('ngrok stats', tunnel);
|
|
64
|
-
logger.info('ngrok stats', { tunnel });
|
|
65
|
-
} catch (err) {
|
|
66
|
-
logger.error('error collecting ngrok stats', { err });
|
|
67
|
-
}
|
|
68
|
-
if (rerun) {
|
|
69
|
-
statsTimeout = setTimeout(() => module.exports.collectNgrokStats(), 10000);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const disconnectTunnel = async (options) => {
|
|
74
|
-
if (!ngrokTunnelUrl) {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
clearTimeout(statsTimeout);
|
|
79
|
-
if (options.tunnelDiagnostics) {
|
|
80
|
-
await module.exports.collectNgrokStats(false);
|
|
81
|
-
}
|
|
82
|
-
const ngrok = await lazyRequire('ngrok');
|
|
83
|
-
await ngrok.disconnect(ngrokTunnelUrl);
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
module.exports = {
|
|
87
|
-
connectTunnel,
|
|
88
|
-
disconnectTunnel,
|
|
89
|
-
collectNgrokStats,
|
|
90
|
-
};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-console */
|
|
2
|
-
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
const { ArgError } = require('../errors');
|
|
6
|
-
const { sinon, expect } = require('../../test/utils/testUtils');
|
|
7
|
-
const testimNgrok = require('./testimNgrok');
|
|
8
|
-
const utils = require('../utils');
|
|
9
|
-
const npmWrapper = require('./npmWrapper');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
describe('testimNgrok', () => {
|
|
14
|
-
let sandbox;
|
|
15
|
-
let authData;
|
|
16
|
-
let tunnelUrl;
|
|
17
|
-
let collectNgrokStatsStub;
|
|
18
|
-
|
|
19
|
-
const ngrokMock = {
|
|
20
|
-
connect: () => {},
|
|
21
|
-
disconnect: () => {},
|
|
22
|
-
getApi: () => {},
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
beforeEach(() => {
|
|
26
|
-
sandbox = sinon.createSandbox();
|
|
27
|
-
authData = { ngrokToken: utils.guid() };
|
|
28
|
-
tunnelUrl = utils.guid();
|
|
29
|
-
sandbox.stub(ngrokMock, 'connect').callsFake(() => tunnelUrl);
|
|
30
|
-
sandbox.stub(ngrokMock, 'disconnect');
|
|
31
|
-
sandbox.stub(npmWrapper, 'getPackageIfInstalledLocally').returns(ngrokMock);
|
|
32
|
-
collectNgrokStatsStub = sandbox.stub(testimNgrok, 'collectNgrokStats');
|
|
33
|
-
});
|
|
34
|
-
afterEach(() => {
|
|
35
|
-
sandbox.restore();
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
describe('disconnectTunnel', () => {
|
|
39
|
-
it('should do nothing when no tunnel', async () => {
|
|
40
|
-
await testimNgrok.disconnectTunnel({});
|
|
41
|
-
sinon.assert.neverCalledWith(ngrokMock.disconnect);
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
it('should disconnect the tunnel', async () => {
|
|
45
|
-
await testimNgrok.connectTunnel({}, authData);
|
|
46
|
-
await testimNgrok.disconnectTunnel({});
|
|
47
|
-
sinon.assert.calledOnce(ngrokMock.disconnect);
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
it('should collect stats on disconnect', async () => {
|
|
51
|
-
await testimNgrok.connectTunnel({}, authData);
|
|
52
|
-
await testimNgrok.disconnectTunnel({ tunnelDiagnostics: true });
|
|
53
|
-
|
|
54
|
-
sinon.assert.calledOnce(collectNgrokStatsStub);
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
describe('connectTunnel', () => {
|
|
59
|
-
it('should throw when no token', async () => {
|
|
60
|
-
await expect(testimNgrok.connectTunnel({ company: {} })).to.be.rejectedWith(ArgError, 'tunnel feature is not enabled, please contact support - info@testim.io.');
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
it('should spawn the tunnel', async () => {
|
|
64
|
-
const opts = {};
|
|
65
|
-
await testimNgrok.connectTunnel(opts, authData);
|
|
66
|
-
|
|
67
|
-
sinon.assert.calledOnce(ngrokMock.connect);
|
|
68
|
-
expect(ngrokMock.connect.args[0][0]).to.shallowDeepEqual({
|
|
69
|
-
proto: 'http',
|
|
70
|
-
addr: 80,
|
|
71
|
-
authtoken: authData.ngrokToken,
|
|
72
|
-
hostname: undefined,
|
|
73
|
-
});
|
|
74
|
-
expect(opts.baseUrl).to.equal(tunnelUrl);
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it('should return whitlisted url when isNgrokWhitelisted', async () => {
|
|
78
|
-
authData.isNgrokWhitelisted = true;
|
|
79
|
-
await testimNgrok.connectTunnel({ projectData: { projectId: 'projectId' } }, authData);
|
|
80
|
-
expect(ngrokMock.connect.args[0][0].hostname).to.endWith('projectId.whitelisted-ngrok.testim.io');
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
it('should support tunnelHostHeader', async () => {
|
|
84
|
-
const tunnelHostHeader = utils.guid();
|
|
85
|
-
await testimNgrok.connectTunnel({ tunnelHostHeader }, authData);
|
|
86
|
-
// eslint-disable-next-line camelcase
|
|
87
|
-
expect(ngrokMock.connect.args[0][0]).to.shallowDeepEqual({ host_header: tunnelHostHeader });
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
it('should support tunnelRegion', async () => {
|
|
91
|
-
const tunnelRegion = utils.guid();
|
|
92
|
-
await testimNgrok.connectTunnel({ tunnelRegion }, authData);
|
|
93
|
-
expect(ngrokMock.connect.args[0][0]).to.shallowDeepEqual({ region: tunnelRegion });
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
it('should force using http when passing tunnelUseHttpAddress', async () => {
|
|
97
|
-
const opts = { tunnelUseHttpAddress: true };
|
|
98
|
-
const guid = utils.guid();
|
|
99
|
-
tunnelUrl = `https://${guid}`;
|
|
100
|
-
await testimNgrok.connectTunnel(opts, authData);
|
|
101
|
-
|
|
102
|
-
sinon.assert.calledOnce(ngrokMock.connect);
|
|
103
|
-
expect(opts.baseUrl).to.equal(`http://${guid}`);
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
it('should collect stats on connect', async () => {
|
|
107
|
-
await testimNgrok.connectTunnel({ tunnelDiagnostics: true }, authData);
|
|
108
|
-
sinon.assert.calledOnce(collectNgrokStatsStub);
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
describe('collectNgrokStats', () => {
|
|
113
|
-
let tunnels;
|
|
114
|
-
let getApiStub;
|
|
115
|
-
beforeEach(() => {
|
|
116
|
-
tunnels = [{ }];
|
|
117
|
-
getApiStub = sandbox.stub(ngrokMock, 'getApi').returns({ get: () => ({ tunnels }) });
|
|
118
|
-
collectNgrokStatsStub.callThrough();
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
it('should collect stats', async () => {
|
|
122
|
-
await testimNgrok.collectNgrokStats(false);
|
|
123
|
-
sinon.assert.calledOnce(ngrokMock.getApi);
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
it('should rerun itself using timeout', async () => {
|
|
127
|
-
const clock = sandbox.useFakeTimers();
|
|
128
|
-
|
|
129
|
-
await testimNgrok.collectNgrokStats();
|
|
130
|
-
clock.tick(15000);
|
|
131
|
-
sinon.assert.calledTwice(collectNgrokStatsStub);
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
it('should ignore errors while collecting stats', async () => {
|
|
135
|
-
getApiStub.throws(new Error('test'));
|
|
136
|
-
await testimNgrok.collectNgrokStats();
|
|
137
|
-
sinon.assert.calledOnce(ngrokMock.getApi);
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
});
|