mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-18 16:40:56 +00:00
Fix settings get bug in mocks
This commit is contained in:
parent
4d0ecbdc4c
commit
08e8cfbb09
@ -10,7 +10,7 @@ exports.fs =
|
||||
|
||||
# Mock data prefix automatically to remove
|
||||
# duplication in most of the tests
|
||||
mockFsOptions[resin.settings.dataPrefix] = mockFs.directory()
|
||||
mockFsOptions[resin.settings.get('dataPrefix')] = mockFs.directory()
|
||||
|
||||
for key, value of filesystemConfig
|
||||
mockFsOptions[value.name] = value.contents
|
||||
|
Loading…
x
Reference in New Issue
Block a user