Usage on karma
canemacchina opened this issue · 2 comments
canemacchina commented
How to use chai-json-schema with karma?
thabemmz commented
We do not have a Karma plugin, nor extensive Karma knowledge to help you.
Feel free to create a plugin for Karma though, it does not seem to be a very complicated implementation (see https://github.com/solatis/karma-chai-things for example).
davidrmckinnon commented
I created https://github.com/Blatmann/karma-chai-json-schema based on https://github.com/solatis/karma-chai-things, as suggested.
Unfortunately I get this error:
AssertionError: tv4 dependency: expected undefined to be truthy at http://localhost:8080/_karma_node_modules/chai/chai.js:9320 PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 0 of 0 ERROR (0.12 secs / 0 secs)
Not sure where to go from here.