Test not passing although ok

All test should pass is not checked

https://repl.it/@lolme/boilerplate-mochachai this is my repl link

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0.

Challenge: Run Functional Tests on an API Response using Chai-HTTP III - PUT method

Link to the challenge:

You have to use the live link: https://boilerplate-mochachai--lolme.repl.co/

Hello there,

As you have more code than what is required for the mentioned challenge, I am going to assume you managed to get past this one.

I will mention this: this code is not in the correct place:

const browser = new Browser();
suiteSetup(function(done) {
  return browser.visit('/', done);
});

Review this line in the lesson:

Within tests/2_functional-tests.js, at the root level of the ‘Functional Tests with Zombie.js’ suite, instantiate a new instance of the Browser object with the following code

Hope this helps

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.