sideshowcoder / canned

Server to respond with fake API responses, by using a directory of files for finding out what to say!
213 stars 46 forks source link

test '#49' fails on master branch #120

Closed sanstream closed 6 years ago

sanstream commented 6 years ago

running npm test or make test Gives this output:

> canned@0.3.10 test /home/sanne/Projects/bankai/canned
> make test

./node_modules/.bin/jasmine-node --captureExceptions spec
...................................................SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.res.end (/home/sanne/Projects/bankai/canned/spec/canned.spec.js:620:29)
    at ontimeout (timers.js:475:11)
    at tryOnTimeout (timers.js:310:5)
    at Timer.listOnTimeout (timers.js:270:5)
Makefile:7: recipe for target 'test' failed
make: *** [test] Error 1
npm ERR! Test failed.  See above for more details.
sideshowcoder commented 6 years ago

Is this still happening for you? I tried locally with the latest version and it seems to run through fine for me. What System are you on, I'm wondering if it is a version related issue?

I'm on Ubuntu 17.04, node v6.11.4 currently.

sideshowcoder commented 6 years ago

This test is no longer relevant and has been removed.

sanstream commented 6 years ago

Sorry for the late response. I am on holiday 😏

I'm fine btw with it being closed since I made this issue as a FYI anyway.

Thank you for building this project.

Sanne Peters

On Sat, 14 Apr 2018, 23:43 Philipp Fehre, notifications@github.com wrote:

This test is no longer relevant and has been removed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sideshowcoder/canned/issues/120#issuecomment-381333929, or mute the thread https://github.com/notifications/unsubscribe-auth/AD4e5sl-R3MdzRYEyLC1FNg8D_iYzwtfks5togskgaJpZM4Se-Ge .

sideshowcoder commented 6 years ago

Hope you enjoy the holiday :).