MCPcopy Create free account
hub / github.com/EsperoTech/yaade / constructorsAreDifferentFormatter

Function constructorsAreDifferentFormatter

server/src/main/resources/jasmine.js:5233–5247  ·  view source on GitHub ↗
(pp, actual, expected, path)

Source from the content-addressed store, hash-verified

5231 }
5232
5233 function constructorsAreDifferentFormatter(pp, actual, expected, path) {
5234 if (!path.depth()) {
5235 path = 'object';
5236 }
5237
5238 return (
5239 'Expected ' +
5240 path +
5241 ' to be a kind of ' +
5242 j$.fnNameFor(expected.constructor) +
5243 ', but was ' +
5244 pp(actual) +
5245 '.'
5246 );
5247 }
5248
5249 function actualArrayIsLongerFormatter(pp, actual, expected, path) {
5250 return (

Callers

nothing calls this directly

Calls 2

ppFunction · 0.70
depthMethod · 0.45

Tested by

no test coverage detected