domsuite
Advanced tools
Comparing version 0.1.1-0 to 0.1.1-2
@@ -110,3 +110,3 @@ 'use strict'; | ||
throw new Error('Retryable did not complete in allocated time:\n' + error.stack + '\n' + ('Failing function:\n' + retryableFunc.toString())); | ||
throw new Error('Retryable did not complete in allocated time:\n' + error.stack + '\n\n' + ('Failing function:\n' + retryableFunc.toString() + '\n')); | ||
@@ -189,3 +189,3 @@ case 14: | ||
throw new Error('Condition was not met in allocated time:\n' + (error && error.stack) + '\n' + ('Failing function:\n' + predicate.toString())); | ||
throw new Error('Condition was not met in allocated time:\n' + (error && error.stack) + '\n\n' + ('Failing function:\n' + predicate.toString() + '\n')); | ||
@@ -192,0 +192,0 @@ case 17: |
@@ -97,4 +97,4 @@ import isEmpty from 'lodash/isEmpty'; | ||
throw new Error( | ||
`Retryable did not complete in allocated time:\n${error.stack}\n` + | ||
`Failing function:\n${retryableFunc.toString()}` | ||
`Retryable did not complete in allocated time:\n${error.stack}\n\n` + | ||
`Failing function:\n${retryableFunc.toString()}\n` | ||
); | ||
@@ -122,4 +122,4 @@ } | ||
throw new Error( | ||
`Condition was not met in allocated time:\n${error && error.stack}\n` + | ||
`Failing function:\n${predicate.toString()}`); | ||
`Condition was not met in allocated time:\n${error && error.stack}\n\n` + | ||
`Failing function:\n${predicate.toString()}\n`); | ||
} | ||
@@ -126,0 +126,0 @@ await sleep(25); |
{ | ||
"name": "domsuite", | ||
"version": "0.1.1-0", | ||
"version": "0.1.1-2", | ||
"description": "Browser testing/automation utilities with async/await", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
27779
0