Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
group.beforeEach(() => {
ioc.restore()
})
group.beforeEach(() => {
ioc.restore()
})
group.beforeEach(() => {
ioc.restore()
RouteStore.clear()
})
group.beforeEach(() => {
ioc.restore()
})
group.beforeEach(() => {
ioc.restore()
})
group.beforeEach(() => {
ioc.restore()
})
group.beforeEach(() => {
ioc.restore()
ioc.use('Gql').clear()
mock({
'App/Schemas/Unamed.graphql':
'type Query { name: String } type Mutation { addName: String }',
'App/Schemas/UserMiddleware.graphql':
'type Query { user: String, users: [String] }'
})
middleware._middleware.global = []
middleware._middleware.named = {}
})
group.beforeEach(() => {
Factory.clear()
ioc.restore()
})
group.afterEach(() => {
RouteStore.clear()
ioc.restore()
this.exception.clear()
})
suite.after(() => {
ioc.restore('Adonis/Src/Hash')
})
}