mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-29 10:08:52 +00:00
12 lines
382 B
CoffeeScript
12 lines
382 B
CoffeeScript
|
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')
|