sgnl/nodeku

update tests to work with env variables

sgnl opened this issue · 0 comments

sgnl commented

instead of having this hack:

  if (MockReq) {
    Req = MockReq
  }

and

    if (this.hasOwnProperty('MockSSDPClient')) {
      Client = new this.MockSSDPClient()
    } else {
      Client = new NodeSSDPClient()
    }