Fixed parse error from jsdoc
"arguments" isn't a legal argument name in strict mode JS. The JS runtimes that Jasmine runs in allow it, but jsdoc doesn't.
This commit is contained in:
@@ -6777,9 +6777,7 @@ getJasmineRequireObj().toHaveNoOtherSpyInteractions = function(j$) {
|
||||
"Expected a spy object to have other spy interactions but it didn't.";
|
||||
} else {
|
||||
const ppUnexpectedCalls = unexpectedCalls
|
||||
.map(
|
||||
([spyName, arguments]) => ` ${spyName} called with ${arguments}`
|
||||
)
|
||||
.map(([spyName, args]) => ` ${spyName} called with ${args}`)
|
||||
.join(',\n');
|
||||
|
||||
result.message =
|
||||
|
||||
@@ -67,9 +67,7 @@ getJasmineRequireObj().toHaveNoOtherSpyInteractions = function(j$) {
|
||||
"Expected a spy object to have other spy interactions but it didn't.";
|
||||
} else {
|
||||
const ppUnexpectedCalls = unexpectedCalls
|
||||
.map(
|
||||
([spyName, arguments]) => ` ${spyName} called with ${arguments}`
|
||||
)
|
||||
.map(([spyName, args]) => ` ${spyName} called with ${args}`)
|
||||
.join(',\n');
|
||||
|
||||
result.message =
|
||||
|
||||
Reference in New Issue
Block a user