|
@@ -1,10 +1,7 @@
|
1
|
1
|
import { describe, it } from "mocha";
|
2
|
2
|
|
3
|
|
-import { RPCServer } from '../src/Backend'
|
|
3
|
+import { RPCServer, RPCSocket, SubscriptionResponse, makeSubResponse } from '../src/RPCLibrary'
|
4
|
4
|
import * as uuidv4 from "uuid/v4"
|
5
|
|
-import { RPCSocket } from "../src/Frontend";
|
6
|
|
-import { SubscriptionResponse } from "../src/Types";
|
7
|
|
-import { makeSubResponse } from "../src/Utils";
|
8
|
5
|
|
9
|
6
|
const add = (...args:number[]) => {return args.reduce((a,b)=>a+b, 0)}
|
10
|
7
|
function makeServer(){
|