deno.land / x / esm@v135_2 / test / issue-649 / issue-649.test.ts

issue-649.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { assertEquals } from "https://deno.land/std@0.180.0/testing/asserts.ts";
import Pusher from "http://localhost:8080/pusher@5.1.2";
Deno.test("issue #649", async () => { const pusher = new Pusher({ appId: "ESM_SH", key: "KEY", secret: "SECRET", host: "localhost", port: "8080", }); try { await pusher.trigger("chat", "message", { message: ":)", }); } catch (e) { assertEquals(e.status, 404); }});
esm

Version Info

Tagged at
a year ago