system: make filesystem return value an array

Filesystem of df output is not unique
This commit is contained in:
Girish Ramakrishnan
2025-07-20 09:59:51 +02:00
parent 1e8df5c9d0
commit 66107cf7a4
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ describe('System', function () {
const filesystems = await system.getFilesystems();
expect(filesystems).to.be.ok();
expect(Object.keys(filesystems).some(fs => filesystems[fs].mountpoint === '/')).to.be.ok();
expect(filesystems.some(fs => fs.mountpoint === '/')).to.be(true);
});
it('can get swaps', async function () {