Skip to content

Commit

Permalink
Fix expected output when invoking jasmine
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Apr 17, 2018
1 parent d41b73b commit 4d6cbb5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions test/external.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,8 @@ if (typeof process === 'object') {
stdout,
'to contain',
'not to error\n' +
" returned promise rejected with: Error('argh')\n" +
'\n' +
' at thisIsImportant'
);
" returned promise rejected with: Error('argh')\n"
).and('to contain', ' at thisIsImportant');
}
);
});
Expand Down Expand Up @@ -241,10 +239,8 @@ if (typeof process === 'object') {
stdout,
'to contain',
' not to error\n' +
" returned promise rejected with: Error('argh')\n" +
' \n' +
' at thisIsImportant'
);
" returned promise rejected with: Error('argh')\n"
).and('to contain', ' at thisIsImportant');
});
});
});
Expand Down

0 comments on commit 4d6cbb5

Please sign in to comment.