Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit test color example seems not to be working #315

Open
telekosmos opened this issue Nov 13, 2017 · 0 comments
Open

unit test color example seems not to be working #315

telekosmos opened this issue Nov 13, 2017 · 0 comments

Comments

@telekosmos
Copy link

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!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant