eslint: Fix outstanding naming issues

This commit is contained in:
willclarktech
2020-07-15 13:29:35 +02:00
parent 6d387412af
commit 37a5cd5c8b
3 changed files with 7 additions and 7 deletions
@@ -92,7 +92,7 @@ describe("ReconnectingSocket", () => {
describe("reconnection", () => {
const dirPath = "../../scripts/socketserver";
const PKILL_NO_PROCESSES_MATCHED = 1;
const codePkillNoProcessesMatched = 1;
const startServerCmd = `${dirPath}/start.sh`;
const stopServerCmd = `${dirPath}/stop.sh`;
@@ -101,7 +101,7 @@ describe("ReconnectingSocket", () => {
pendingWithoutSocketServer();
exec!(stopServerCmd, (stopError) => {
if (stopError && stopError.code !== PKILL_NO_PROCESSES_MATCHED) {
if (stopError && stopError.code !== codePkillNoProcessesMatched) {
done.fail(stopError);
}
@@ -164,7 +164,7 @@ describe("ReconnectingSocket", () => {
setTimeout(
() =>
exec!(stopServerCmd, (stopError) => {
if (stopError && stopError.code !== PKILL_NO_PROCESSES_MATCHED) {
if (stopError && stopError.code !== codePkillNoProcessesMatched) {
done.fail(stopError);
}