Chai functional tests - glitch not working right

Tell us what’s happening:
The tests fail but they shouldn;t since I have the right code.

My code:

Your code so far

        test('Test GET /hello with no name',  function(done){ // Don't forget the callback...
         chai.request(server)             // 'server' is the Express App
          .get('/hello')                  // http_method(url). NO NAME in the query !
          .end(function(err, res){        // res is the response object
            // Test the status and the text response (see the example above). 
            // Please follow the order -status, -text. We rely on that in our tests.
            // It should respond 'Hello Guest'
            assert.equal(res.status, 200);
            assert.equal(res.text, 'hello Guest');
            done();   // Always call the 'done()' callback when finished.

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS armv7l 13099.110.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.136 Safari/537.36.

Challenge: Run Functional Tests on API Endpoints using Chai-HTTP

Link to the challenge:

Hello there,

The test api use this endpoint: /_api/get-tests?type=functional&n=0

Your app is returning:


Which means there was an error. I suggest you look in the Glitch logs for any useful output.