node.js - Karma: Catch errors using jasmine & grunt -
i have problems me special grunt-karma-requirejs-jasmine setup. have , running , long test defined in spec-files ist working perfect, resulting in junit-xml-file showing me test success , test failures.
now problem: if there problem scripts tests run on (e.g. variables undefined, modules not available --> causes normal browser throw error), karma stops throwing error, default behaviour. want karma is, not stop, log it's errors junit-xml-file => have 3 types of states (success, failure, error) in xml , not on console.
how can i: - karma custom handle errors? - karma tell karma-junit-reporter log?
any appreciated! lot guys!
Comments
Post a Comment