From 968885767aa0b68a0fc20b402e487f1e63f14625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCbleitner?= Date: Wed, 18 Sep 2019 13:22:25 +0200 Subject: [PATCH] help prs --- test/TestBackend.ts | 2 +- test/TestFrontend.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/TestBackend.ts b/test/TestBackend.ts index 1ea76d7..b794756 100644 --- a/test/TestBackend.ts +++ b/test/TestBackend.ts @@ -1,6 +1,6 @@ import { Server } from '../src/Backend' -const testServer = new Server(20000, [{ +new Server(20000, [{ name: "HelloWorldRPCGroup", publicRPCs: () => [], localRPCs: () => [{ diff --git a/test/TestFrontend.ts b/test/TestFrontend.ts index fa472e6..12191e4 100644 --- a/test/TestFrontend.ts +++ b/test/TestFrontend.ts @@ -1,7 +1,7 @@ import { Client } from '../src/Frontend' -const testClient = new Client(20000, 'localhost') -testClient.connect().then(_ => { - testClient.info().then(console.log) - testClient["HelloWorldRPCGroup"].echo("x").then(console.log) +const client = new Client(20000, 'localhost') +client.connect().then(_ => { + client.info().then(console.log) + client["HelloWorldRPCGroup"].echo("x").then(console.log) })