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

Function schemaSetup

spec/schemas.spec.js:2940–2947  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2938 const operation = true;
2939
2940 const schemaSetup = async () =>
2941 await schemaController.addClassIfNotExists(
2942 'AnObject',
2943 {},
2944 {
2945 [operationKey]: operation,
2946 }
2947 );
2948
2949 await expectAsync(schemaSetup()).toBeRejectedWith(
2950 new Parse.Error(

Callers 1

schemas.spec.jsFile · 0.85

Calls 1

addClassIfNotExistsMethod · 0.80

Tested by

no test coverage detected