(SOLVED) Test suite failing (pomdoro clock)

(SOLVED) Test suite failing (pomdoro clock)
0

#1

I’m working on the Pomdoro clock and am trying to check progress with the test suite. I am not finished with the clock, but should be around 20/29 (haven’t done CSS yet so it’s very ugly).

But when trying to run tests all but 1 fail and only four are listed with:

  1. “before each” hook
  2. “after all” hook
  3. “before each” hook for “I can see an element with id=“break-label” that contains a string (e.g. “Break Length”).”
  4. “after each” hook for “I can see an element with id=“break-label” that contains a string (e.g. “Break Length”).”

The last two I have in already but still fail, and I’m not sure what the hooks are referencing. Also none of the other tests are showing up.


#2

You have an error in your PomodoroClock Component - the resetClock function should reference this.countDown("reset"); but you have countDown("reset");
Correct this and you shouldn’t get those specific errors any longer.


#3

Oh lord how could I have missed something so trivial. Thank you haha