mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 23:12:23 +00:00
20 lines
519 B
CoffeeScript
20 lines
519 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'
|
||
|
|
||
|
m = require 'mochainon'
|
||
|
|
||
|
{ stub } = m.sinon
|
||
|
|
||
|
dbus = require 'dbus-native'
|
||
|
|
||
|
stub(dbus, 'systemBus').returns({
|
||
|
invoke: (obj, cb) ->
|
||
|
console.log(obj)
|
||
|
cb()
|
||
|
})
|