kefirjs / kefir

A Reactive Programming library for JavaScript
https://kefirjs.github.io/kefir/
MIT License
1.87k stars 97 forks source link

Something wrong with bufferWithTimeOrCount tests #194

Closed rpominov closed 8 years ago

rpominov commented 8 years ago

I've commented out the problematic tests in https://github.com/rpominov/kefir/commit/25450079401aa725abfb540571fcef7180f9c81f

Here is how normally test output looks:

`npm bin`/jasmine-node --coffee --matchall test/specs
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Finished in 1.02 seconds
841 tests, 1117 assertions, 0 failures, 0 skipped

And here is how it looks with problematic test cases uncommented:

`npm bin`/jasmine-node --coffee --matchall test/specs
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

It doesn't print the summary, and there less dots than normally which means not all tests are run. Seems like it just silently exits at some point.

rpominov commented 8 years ago

@mcmathja Maybe you could take a look and figure out what's going on? I have no idea so far, it's very strange.

rpominov commented 8 years ago

@mcmathja Nevermind, fixed in https://github.com/rpominov/kefir/commit/b91fa920e67c1ed709182388470ee62c1e4c42f6

The silent tests exit is terrible though. This project has the worst dev setup :sweat_smile: