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.";
|
"Expected a spy object to have other spy interactions but it didn't.";
|
||||||
} else {
|
} else {
|
||||||
const ppUnexpectedCalls = unexpectedCalls
|
const ppUnexpectedCalls = unexpectedCalls
|
||||||
.map(
|
.map(([spyName, args]) => ` ${spyName} called with ${args}`)
|
||||||
([spyName, arguments]) => ` ${spyName} called with ${arguments}`
|
|
||||||
)
|
|
||||||
.join(',\n');
|
.join(',\n');
|
||||||
|
|
||||||
result.message =
|
result.message =
|
||||||
|
|||||||
@@ -67,9 +67,7 @@ getJasmineRequireObj().toHaveNoOtherSpyInteractions = function(j$) {
|
|||||||
"Expected a spy object to have other spy interactions but it didn't.";
|
"Expected a spy object to have other spy interactions but it didn't.";
|
||||||
} else {
|
} else {
|
||||||
const ppUnexpectedCalls = unexpectedCalls
|
const ppUnexpectedCalls = unexpectedCalls
|
||||||
.map(
|
.map(([spyName, args]) => ` ${spyName} called with ${args}`)
|
||||||
([spyName, arguments]) => ` ${spyName} called with ${arguments}`
|
|
||||||
)
|
|
||||||
.join(',\n');
|
.join(',\n');
|
||||||
|
|
||||||
result.message =
|
result.message =
|
||||||
|
|||||||
Reference in New Issue
Block a user