MCPcopy Create free account
hub / github.com/parse-community/parse-server / validateError

Function validateError

spec/Schema.spec.js:531–535  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

529 }
530 let errorValidated = false;
531 function validateError(error) {
532 expect(error.code).toEqual(Parse.Error.INVALID_CLASS_NAME);
533 expect(error.message).toEqual('Class NewClass already exists.');
534 errorValidated = true;
535 }
536 Promise.all([p1, p2]).then(() => {
537 expect(schemaValidated).toEqual(true);
538 expect(errorValidated).toEqual(true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…