Remove unused code

This commit is contained in:
Ramon Wenger 2022-07-28 15:27:51 +02:00
parent 2365d24c5c
commit 68b2c94849
1 changed files with 0 additions and 36 deletions

View File

@ -75,39 +75,3 @@ describe('Content Blocks', () => {
cy.getByDataCy('submission-textarea').should('not.be.visible');
});
});
/*
cy.task('getSchema').then(schemaString => {
cy.intercept('POST', '/api/graphql', (req) => {
// if (hasOperationName('MeQuery')) {
// graphql()
const schema = makeExecutableSchema({
typeDefs: schemaString,
});
const preserveResolvers = true;
const mocks = {
...defaultMocks,
module: {
title: 'I am a custom Title!'
}
};
const schemaWithMocks = addMocksToSchema({
schema,
preserveResolvers,
mocks,
});
const {query} = req.body;
console.log(req.body);
graphql({
schema: schemaWithMocks,
source: query,
}).then(result => {
console.log(result);
req.reply(result);
});
// }
});
});
*/