Skip to content

Commit

Permalink
Fix stringify error message (test) (#5606)
Browse files Browse the repository at this point in the history
Forgot to update second instance of wrong error message being used
  • Loading branch information
tookam authored and garethbowen committed Jun 4, 2019
1 parent 87cd2cb commit 13bd8d4
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -264,7 +264,7 @@ describe('DeleteDocs service', function() {
try {
JSON.stringify(bulkDocs.args[0][0][0]);
} catch (e) {
if (e.message === 'Converting circular structure to JSON') {
if (e.message.startsWith('Converting circular structure to JSON')) {
isCircularAfter = true;
}
}
Expand Down

0 comments on commit 13bd8d4

Please sign in to comment.