PhantomReporter made not to break IE. Closes GH-71.
This commit is contained in:
parent
468c93729d
commit
b704304691
@ -120,7 +120,7 @@ phantom.sendMessage = function() {
|
||||
if (!value) return value;
|
||||
|
||||
// If we're a node
|
||||
if (value instanceof Node) return '[ Node ]';
|
||||
if (typeof(Node) !== 'undefined' && value instanceof Node) return '[ Node ]';
|
||||
|
||||
// jasmine-given has expectations on Specs. We intercept to return a
|
||||
// String to avoid stringifying the entire Jasmine environment, which
|
||||
|
Loading…
Reference in New Issue
Block a user