MCPcopy Index your code
hub / github.com/parse-community/parse-server / initialize

Function initialize

spec/ProtectedFields.spec.js:766–775  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

764 let object;
765
766 async function initialize() {
767 await Config.get(Parse.applicationId).schemaCache.clear();
768
769 object = new Parse.Object(className);
770
771 object.set('revision', 0);
772 object.set('test', 'test');
773
774 await object.save(null, { useMasterKey: true });
775 }
776
777 beforeEach(async () => {
778 await initialize();

Callers 1

Calls 4

createUserFunction · 0.70
logInFunction · 0.70
clearMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected