balena-supervisor/test/01-constants.spec.coffee

12 lines
382 B
CoffeeScript
Raw Normal View History

prepare = require './lib/prepare'
m = require 'mochainon'
{ expect } = m.chai
constants = require '../src/lib/constants'
describe 'constants', ->
before ->
prepare()
it 'has the correct configJsonPathOnHost', ->
expect(constants.configJsonPathOnHost).to.equal('/config.json')
it 'has the correct rootMountPoint', ->
expect(constants.rootMountPoint).to.equal('./test/data')