title: Chai/Moka -> TypeError: request.get(...).expect is not a function
body: <p>First time with TDD. I'm using the duo Chai/Moka after reading some article online for my NodeJS API.</p>
  
  <p>I already made few dumb test to learn how to use those. Now I want test my API so I created a route :</p>
  
  <pre><code>app.get('/hello', function(req, res) {
    res.status(200).send('Hello World!')
  })
  </code></pre>
  
  <p>I try a test like this :</p>
  
  <pre><code>var request = require('superagent')
  var expect = require('Chai').expect
  
  [...]
  
  describe('When request baseURL/hello', function(){
      it('should salute you !', function (done) {
        request
        .get(baseURL + '/hello')
        .expect(200)
        .end(function(err, res){
          if(err) return done(err)
          done()
        })
      })
    })
  </code></pre>
  
  <p>I have the fail output :</p>
  
  <pre><code>TypeError: request.get(...).expect is not a function
  </code></pre>
  
  <p>If I comment the expect line everything is working. I try this route with Postman and I have a 200 status code like expected.</p>