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

Method formatProperty

client/src/utils/jasmine/jasmine.js:7218–7227  ·  view source on GitHub ↗
(obj, property)

Source from the content-addressed store, hash-verified

7216 // }
7217
7218 formatProperty(obj, property) {
7219 if (typeof property === 'symbol') {
7220 this.append(property.toString());
7221 } else {
7222 this.append(property);
7223 }
7224
7225 this.append(': ');
7226 this.format(obj[property]);
7227 }
7228
7229 append(value) {
7230 // This check protects us from the rare case where an object has overriden

Callers 2

emitArrayMethod · 0.95
emitObjectMethod · 0.95

Calls 3

appendMethod · 0.95
formatMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected