it('can be called', async () => { try { const clientMutationId = uuidv4();
it('should log the user in', async () => { const clientMutationId = uuidv4(); const user = new Parse.User(); user.setUsername('user1');
it('should send reset password', async () => { const clientMutationId = uuidv4(); const emailAdapter = { sendVerificationEmail: () => {},
it('should return specific type object using class specific mutation', async () => { const clientMutationId = uuidv4(); const customerSchema = new Parse.Schema('Customer'); customerSchema.addString('someField');
it('should return specific type object using class specific mutation', async () => { const clientMutationId = uuidv4(); const obj = new Parse.Object('Customer'); obj.set('someField1', 'someField1Value1');
describe('Files Mutations', () => { describe('Create', () => { it('should return File object', async () => { const clientMutationId = uuidv4();
it('should delete an existing class', async () => { try { const clientMutationId = uuidv4(); const result = await apolloClient.mutate({ mutation: gql`
it('should sign user up', async () => { const clientMutationId = uuidv4(); const userSchema = new Parse.Schema('_User'); userSchema.addString('someField');
it('should return a specific type using class specific mutation', async () => { const clientMutationId = uuidv4(); const obj = new Parse.Object('Customer'); obj.set('someField1', 'someField1Value1');
it('should log the user out', async () => { const clientMutationId = uuidv4(); const user = new Parse.User(); user.setUsername('user1');
it('should login with user', async () => { const clientMutationId = uuidv4(); const userSchema = new Parse.Schema('_User'); parseServer = await global.reconfigureServer({
it('should update an existing class', async () => { try { const clientMutationId = uuidv4(); const result = await apolloClient.mutate({ mutation: gql`
describe('spin up gce instance', function() { this.timeout(5000000); const uniqueID = uuidv4().split('-')[0]; before(() => { this.timeout(5000000);
it('should send verification email again', async () => { const clientMutationId = uuidv4(); const emailAdapter = { sendVerificationEmail: () => {},
async create(userId: string, apiKey: string) { const newRecord = { id: uuidv4(), user_id: userId, created_timestamp: new Date().toISOString(), hash: await bcrypt.hash(apiKey, SALT_ROUNDS) }; runtimeApiKeyStore.push(newRecord); return newRecord; }