balena-supervisor/test/00-init.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

18 lines
502 B
CoffeeScript

process.env.ROOT_MOUNTPOINT = './test/data'
process.env.BOOT_MOUNTPOINT = '/mnt/boot'
process.env.CONFIG_JSON_PATH = '/config.json'
process.env.DATABASE_PATH = './test/data/database.sqlite'
process.env.DATABASE_PATH_2 = './test/data/database2.sqlite'
process.env.DATABASE_PATH_3 = './test/data/database3.sqlite'
process.env.LED_FILE = './test/data/led_file'
{ stub } = require 'sinon'
dbus = require 'dbus-native'
stub(dbus, 'systemBus').returns({
invoke: (obj, cb) ->
console.log(obj)
cb()
})