haithhawk / mashrou_cheetah

Apache License 2.0
0 stars 0 forks source link

Adding tests for router #24

Closed ghassanmas closed 6 years ago

ghassanmas commented 6 years ago

Relates #23

NickP123 commented 6 years ago

All tests are currently failing on travis-ci.

> mashrou_cheetah@1.0.0 test /home/travis/build/haithhawk/mashrou_cheetah
> tape ./tests/test.js | tap-spec

  Test for the unknow route

    /random

    ✖ test exited without ending
    -----------------------------
      operator: fail
      stack: |-


    ✖ test exited without ending
    -----------------------------
      operator: fail
      stack: |-


    ✖ test exited without ending
    -----------------------------
      operator: fail
      stack: |-



  Failed Tests: There were 3 failures

    Test for the unknow route

      ✖ test exited without ending
      ✖ test exited without ending
      ✖ test exited without ending

  total:     3
  passing:   0
  failing:   3
  duration:  192ms

npm ERR! Test failed.  See above for more details.

travis_time:end:029f3c00:start=1511987960652129976,finish=1511987961267804250,duration=615674274

The command "npm test" exited with 1.

Done. Your build exited with 1.