mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 15:02:23 +00:00
c1748436d8
Change-type: patch Signed-off-by: Cameron Diver <cameron@resin.io>
15 lines
437 B
CoffeeScript
15 lines
437 B
CoffeeScript
m = require 'mochainon'
|
|
{ expect } = m.chai
|
|
|
|
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
|