Skip to content

Commit

Permalink
Fix error message comparison (#5605)
Browse files Browse the repository at this point in the history
* Fix error message comparison

* Use latest version of webdriver-manager

See issue: angular/webdriver-manager#370
  • Loading branch information
tookam authored and garethbowen committed Jun 4, 2019
1 parent 13bd8d4 commit d0ee65f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webapp/tests/karma/unit/services/delete-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ describe('DeleteDocs service', function() {
try {
JSON.stringify(report);
} catch (e) {
if (e.message === 'Converting circular structure to JSON') {
if (e.message.startsWith('Converting circular structure to JSON')) {
isCircularBefore = true;
}
}
Expand Down

0 comments on commit d0ee65f

Please sign in to comment.