-
Notifications
You must be signed in to change notification settings - Fork 64
/
.mochapodrc.yml
30 lines (30 loc) · 1.05 KB
/
.mochapodrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This defines default configuration that
# should apply to all mocha-pod/testfs instances
testfs:
# These are test files that need to be configured
# for all tests. The `from` defines where to find
# them in the local source. These can be overriden
# in the `testfs` configuration.
filesystem:
/mnt/boot:
config.json:
from: test/data/testconfig.json
config.txt:
from: test/data/mnt/boot/config.txt
device-type.json:
from: test/data/mnt/boot/device-type.json
/mnt/root/etc:
os-release:
from: test/data/etc/os-release
/mnt/root/tmp/balena-supervisor:
target-state-config: ''
# The `keep` list defines files that already exist in the
# filesystem and need to be backed up before setting up the test environment
keep: []
# The `cleanup` list defines files created by the tests that need to be removed
# when restoring the filesystem
cleanup:
- /data/database.sqlite
- /mnt/data/apps.json.preloaded
- /mnt/root/tmp/balena-supervisor/**/*.lock
- /mnt/boot/splash/*.png