diff --git a/lib/helper/GraphQL.js b/lib/helper/GraphQL.js index 5286b85b2..9c0a0cc9a 100644 --- a/lib/helper/GraphQL.js +++ b/lib/helper/GraphQL.js @@ -53,14 +53,6 @@ class GraphQL extends Helper { this.axios.defaults.headers = this.options.defaultHeaders } - static _checkRequirements() { - try { - require('axios') - } catch (e) { - return ['axios'] - } - } - static _config() { return [ { diff --git a/lib/helper/GraphQLDataFactory.js b/lib/helper/GraphQLDataFactory.js index 75dc5185f..2195a7130 100644 --- a/lib/helper/GraphQLDataFactory.js +++ b/lib/helper/GraphQLDataFactory.js @@ -174,15 +174,6 @@ class GraphQLDataFactory extends Helper { Object.keys(this.factories).forEach(f => (this.created[f] = [])) } - static _checkRequirements() { - try { - require('axios') - require('rosie') - } catch (e) { - return ['axios', 'rosie'] - } - } - _after() { if (!this.config.cleanup) { return Promise.resolve()