Skip to content

Commit 8a490c8

Browse files
committed
chore: comments
1 parent 1b5680f commit 8a490c8

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

bin/testObservability/helper/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ exports.TEST_OBSERVABILITY_REPORTER = 'browserstack-cypress-cli/bin/testObservab
3333

3434
exports.TEST_OBSERVABILITY_REPORTER_LOCAL = path.join(__dirname, '..', 'reporter');
3535

36-
exports.PENDING_QUEUS_FILE = `pending_queues_${process.pid}.json`;
36+
exports.PENDING_QUEUES_FILE = `pending_queues_${process.pid}.json`;

bin/testObservability/helper/requestQueueHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class RequestQueueHandler {
5757

5858
fs.writeFileSync(path.join(__dirname, PENDING_QUEUES_FILE), JSON.stringify(this.queue));
5959
this.queue = [];
60-
cp.spawnSync('node', [path.join(__dirname, 'cleanupQueueSync.js'), path.join(__dirname, PENDING_QUEUS_FILE)], {stdio: 'inherit'});
60+
cp.spawnSync('node', [path.join(__dirname, 'cleanupQueueSync.js'), path.join(__dirname, PENDING_QUEUES_FILE)], {stdio: 'inherit'});
6161
fs.unlinkSync(path.join(__dirname, PENDING_QUEUES_FILE));
6262
}
6363

bin/testObservability/reporter/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ const { v4: uuidv4 } = require('uuid');
1515
const { IPC_EVENTS } = require('../helper/constants');
1616
const { startIPCServer } = require('../plugin/ipcServer');
1717

18-
const ipc = require('node-ipc');
19-
2018
const HOOK_TYPES_MAP = {
2119
"before all": "BEFORE_ALL",
2220
"after all": "AFTER_ALL",
@@ -200,7 +198,6 @@ class MyReporter {
200198
server.on(IPC_EVENTS.COMMAND, this.cypressCommandListener.bind(this));
201199
server.on(IPC_EVENTS.CUCUMBER, this.cypressCucumberStepListener.bind(this));
202200
server.on(IPC_EVENTS.PLATFORM_DETAILS, this.cypressPlatformDetailsListener.bind(this));
203-
this.ipcServer = server;
204201
},
205202
(server) => {
206203
server.off(IPC_EVENTS.CONFIG, '*');

0 commit comments

Comments
 (0)