You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I dunno wheter or not this is the repo for this issue or seneca repo itself...
Well actually I was trying to setup unit tests based on the example in the unit testing documentation for a personal project . So, I've replicated the color example files at https://github.com/senecajs/senecajs.org/tree/master/code/unit-testing but I noticed the tests are doing (almost) nothing as if you replace expect(result.hex).to.equal('000000') for expect(result.hex).to.equal('000001') in file test/color-test.js, the test still passes. It seems the callback function in actions is not called (console.logs inside never get printed out).
Any hint about this issue???
Thanks!!!
The text was updated successfully, but these errors were encountered:
Hi
I dunno wheter or not this is the repo for this issue or seneca repo itself...
Well actually I was trying to setup unit tests based on the example in the unit testing documentation for a personal project . So, I've replicated the color example files at https://github.com/senecajs/senecajs.org/tree/master/code/unit-testing but I noticed the tests are doing (almost) nothing as if you replace
expect(result.hex).to.equal('000000')
forexpect(result.hex).to.equal('000001')
in filetest/color-test.js
, the test still passes. It seems the callback function in actions is not called (console.log
s inside never get printed out).Any hint about this issue???
Thanks!!!
The text was updated successfully, but these errors were encountered: