From 2afbdb5a53bd854c6721e5e5fa27b3e2ad5bd2e5 Mon Sep 17 00:00:00 2001 From: Martin Karkowski Date: Fri, 8 Apr 2022 09:35:02 +0200 Subject: [PATCH] Formatting and adapting version. --- .../ConnectivityManager/ConnectivityManager.spec.ts | 4 +--- lib/dispatcher/ConnectivityManager/ConnectivityManager.ts | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/dispatcher/ConnectivityManager/ConnectivityManager.spec.ts b/lib/dispatcher/ConnectivityManager/ConnectivityManager.spec.ts index 0841286..1e6ec10 100644 --- a/lib/dispatcher/ConnectivityManager/ConnectivityManager.spec.ts +++ b/lib/dispatcher/ConnectivityManager/ConnectivityManager.spec.ts @@ -197,14 +197,12 @@ describe("NopeConnectivityManager", function () { first.dispose(true); expect(end - adapted).to.be.equal(0, "There should not be an delta."); - - }); it("master", async () => { // Wait for the Handshake await sleep(10); - + assert(first.isMaster, "First should be master"); // Create the second Element. diff --git a/lib/dispatcher/ConnectivityManager/ConnectivityManager.ts b/lib/dispatcher/ConnectivityManager/ConnectivityManager.ts index 4d44221..b2ce418 100644 --- a/lib/dispatcher/ConnectivityManager/ConnectivityManager.ts +++ b/lib/dispatcher/ConnectivityManager/ConnectivityManager.ts @@ -21,7 +21,7 @@ import { INopeINopeConnectivityOptions, INopeINopeConnectivityTimeOptions, INopeObservable, - INopeStatusInfo + INopeStatusInfo, } from "../../types/nope"; // Chached Moduls, which will be loaded in nodejs @@ -377,7 +377,7 @@ export class NopeConnectivityManager implements INopeConnectivityManager { } // Say Hello by sending the Status - _this._sendStatus() + _this._sendStatus(); } }); diff --git a/package.json b/package.json index 14c49b4..8855e8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nope", - "version": "1.0.33", + "version": "1.0.34", "description": "NoPE Runtime for Nodejs. For Browser-Support please use nope-browser", "files": [ "dist-nodejs/**/*",