text: const { LiveApi } = require('binary-live-api');
  const expect      = require('chai').expect;
  const jsdom       = require('jsdom');
  const websocket   = require('ws');
  const Language    = require('../language');
  const Url         = require('../url');
  // ignore svgs in tests. @TODO once svg inliner or jsdom upgrades, check again to see if we can remove this
  require.extensions['.svg'] = () => '<svg></svg>';
  const setURL = (url) => {
      jsdom.changeURL(window, url);
      Url.reset();
      Language.reset();
  };
  
  module.exports = {
      expect,
      setURL,
      getApiToken: () => 'hhh9bfrbq0G3dRf',
      api        : new LiveApi({ websocket, appId: 1 }),
  };
  