MCPcopy
hub / github.com/parse-community/parse-server / update

Function update

spec/ParseLiveQuery.spec.js:365–369  ·  view source on GitHub ↗
(object, original)

Source from the content-addressed store, hash-verified

363 }
364 },
365 update(object, original) {
366 if (object.get('yolo') === original.get('yolo')) {
367 fail('create should not have been called');
368 }
369 },
370 };
371 const createSpy = spyOn(spy, 'create').and.callThrough();
372 const updateSpy = spyOn(spy, 'update').and.callThrough();

Callers

nothing calls this directly

Calls 2

failFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected