mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
update test
This commit is contained in:
@@ -13,6 +13,7 @@ var pusher: Pusher.Pusher;
|
||||
//
|
||||
|
||||
Pusher.logToConsole = true;
|
||||
Pusher.instances = [];
|
||||
|
||||
Pusher.log = (msg) => {
|
||||
console.log(msg);
|
||||
@@ -26,6 +27,8 @@ pusher = new Pusher(APP_KEY, {
|
||||
authEndpoint: "http://example.com/pusher/auth"
|
||||
});
|
||||
|
||||
console.assert(!!Pusher.instances.length, "Pusher.instances not filling with new instances");
|
||||
|
||||
pusher = new Pusher(APP_KEY, {
|
||||
auth: {
|
||||
params: { foo: "bar" },
|
||||
|
||||
Reference in New Issue
Block a user