diff --git a/test/keep-test.ts b/test/keep-test.ts new file mode 100644 index 0000000..1ed5444 --- /dev/null +++ b/test/keep-test.ts @@ -0,0 +1,13 @@ +import { createKeepAlive } from "@kevisual/cnb/keep"; + +const config = { + "wss": "wss://cnb-dk4-1jgcjjqvc-001.cnb.space:443/stable-3c0b449c6e6e37b44a8a7938c0d8a3049926a64c?reconnectionToken=d70ab69b-5e92-471a-b3d2-31f554b468d4&reconnection=false&skipWebSocketFrames=false", + "cookie": "orange:workspace:cookie-session:cnb-dk4-1jgcjjqvc-001=01fea6db-d73f-4ce8-8929-36903ee7a266", + "url": "https://cnb-dk4-1jgcjjqvc-001.cnb.space/?folder=/workspace" +} + +createKeepAlive({ + wsUrl: config.wss, + cookie: config.cookie, + debug: true, +}); \ No newline at end of file