Skip to content

Commit ed23542

Browse files
jNulljPyvesB
andauthored
fix exception error text 'object' -> 'boolean'
Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
1 parent 505d636 commit ed23542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/test-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ async function testAuth(serviceClass, authMethod, dummyResponse, options = {}) {
276276
throw new TypeError('Invalid configOverride: Must be an Object.')
277277
}
278278
if (multipleRequests && typeof multipleRequests !== 'boolean') {
279-
throw new TypeError('Invalid multipleRequests: Must be an Object.')
279+
throw new TypeError('Invalid multipleRequests: Must be a boolean.')
280280
}
281281

282282
if (!multipleRequests) {

0 commit comments

Comments
 (0)