balena-supervisor/test/18-startup.coffee
Cameron Diver 37945b4aa5 Don't attempt to setup a log stream to the cloud before provision
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-09 13:21:05 +01:00

14 lines
438 B
CoffeeScript

{ expect } = require './lib/chai-config'
{ Supervisor } = require '../src/supervisor'
describe 'Startup', ->
it 'should startup correctly', ->
supervisor = new Supervisor()
expect(supervisor.init()).to.not.throw
expect(supervisor.db).to.not.be.null
expect(supervisor.config).to.not.be.null
expect(supervisor.logger).to.not.be.null
expect(supervisor.deviceState).to.not.be.null
expect(supervisor.apiBinder).to.not.be.null