Fixing test errors in abide.js
Karma test was reporting:
TypeError: 'undefined' is not an object
(evaluating 'parent.find('small.error, span.error')[0].id')
Have added an extra line to test if parent.find() has a length greater
than 0 before trying to access the id property of the first item.
Loading
Please sign in to comment