cyberFund / cyber.fund

:red_circle: Original version of the site where blockchains grow
https://cyber.fund
30 stars 16 forks source link

Find out why Jasmine tries to load `MarketData/client/*.js` in server unit testing mode #24

Closed deltaidea closed 9 years ago

deltaidea commented 9 years ago

It seems that Jasmine currently includes MarketData/client/* on the server side.

This is what I get in the server terminal:

W20150317-13:05:54.377(0)? (STDERR) [sanjo:jasmine]: The file "/home/vagrant/cyberfund/MarketData/client/helpers.js" has syntax errors. [TypeError: Cannot call method 'helpers' of undefined]

The app runs just fine, but tests don't even start (fair enough, there's a syntax error).

deltaidea commented 9 years ago

This issue has been fixed in dd7f4210c41da7df22d9616125f25cb000e6147c and 2d5055dc8ccc6d3bf14908ca81b45cda73e1f043.