Skip to content

Commit

Permalink
refactor(testScheduler-ui): fix the exception augmentation for tests …
Browse files Browse the repository at this point in the history
…to clone the exception
  • Loading branch information
benlesh committed Jun 17, 2016
1 parent 940456d commit 77342e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/helpers/testScheduler-ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module.exports = function(suite) {
if (notification) {
const { kind, exception } = notification;
if (kind === 'E' && exception instanceof Error) {
exception.stack = null;
notification.exception = { name: exception.name, message: exception.message };
}
}
return marble;
Expand Down

0 comments on commit 77342e5

Please sign in to comment.