Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeHook(function() {
this.timeout(120000)
this.consoleApi = createClient(consoleServerURL)
return createSandbox(this.consoleApi).then(sandbox => {
this.sandbox = sandbox
this.dev = sandbox.dev
this.app = sandbox.app
Backendless.serverURL = apiServerURL
Backendless.initApp(this.app.id, this.app.devices.JS)
})
})