   renderComponent: (component, options = {}) ->
     options.props ||= {}
     CURRENT_ROUTER_PARAMS = options.routerParams or {}
+    CURRENT_ROUTER_QUERY = options.routerQuery or {}
     CURRENT_ROUTER_PATH   = options.routerPath   or '/'
     root = document.createElement('div')
     promise = new Promise( (resolve, reject) ->

  ROUTER.isActive = sandbox.spy()
  ROUTER.transitionTo = sandbox.spy()
  ROUTER.getCurrentPath = sandbox.spy( -> CURRENT_ROUTER_PATH )
  ROUTER.match = sandbox.spy()
  ROUTER.getCurrentParams = sandbox.spy( -> CURRENT_ROUTER_PARAMS )
afterEach ->

ROUTER = null
CURRENT_ROUTER_PARAMS = null
CURRENT_ROUTER_PATH   = null
CURRENT_ROUTER_QUERY = null
# Mock a router for the context
beforeEach ->
  sandbox = sinon.sandbox.create()
