Skip to content

Commit

Permalink
Use the comment style instead of gray for traces
Browse files Browse the repository at this point in the history
  • Loading branch information
sunesimonsen committed Sep 10, 2015
1 parent b7d62c9 commit b40c700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unexpected-sinon.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
output.text(')');
var stackFrames = value.getStackFrames && value.getStackFrames();
if (Array.isArray(stackFrames) && stackFrames.length > 0) {
output.sp().gray('at ' + makePathsRelativeToCwdOrLocation(stackFrames[0].replace(/^\s*(?:at\s+|@)?/, '')));
output.sp().jsComment('at ' + makePathsRelativeToCwdOrLocation(stackFrames[0].replace(/^\s*(?:at\s+|@)?/, '')));
}
return output;
},
Expand Down

0 comments on commit b40c700

Please sign in to comment.