mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-29 18:18:52 +00:00
652b596c80
We add a bunch of additional unit tests, and also a coverage report using istanbul. The tests are not meant to cover everything, but they're a first attempt at having *some* unit testing on the supervisor. There's much to improve but hopefully it helps catch obvious errors. Change-Type: patch Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
26 lines
441 B
JSON
26 lines
441 B
JSON
{
|
|
"name": "aDevice",
|
|
"config": {
|
|
"RESIN_HOST_CONFIG_gpu_mem": "256",
|
|
"RESIN_HOST_LOG_TO_DISPLAY": "0"
|
|
},
|
|
"apps": {
|
|
"1234": {
|
|
"name": "superapp",
|
|
"commit": "abcdef",
|
|
"releaseId": 1,
|
|
"services": {
|
|
"23": {
|
|
"imageId": 12345,
|
|
"serviceName": "someservice",
|
|
"image": "registry2.resin.io/superapp/abcdef",
|
|
"labels": {
|
|
"io.resin.something": "bar"
|
|
},
|
|
"environment": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|