balena-supervisor/test/18-startup.coffee
Roman Mazur 3f5239b07f
Remove mochainon dependnecy
Change-type: patch
Signed-off-by: Roman Mazur <roman@balena.io>
2019-06-19 23:31:58 +03:00

14 lines
434 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