system: route to get filesystem

This commit is contained in:
Girish Ramakrishnan
2025-07-16 17:20:15 +02:00
parent b42be9899e
commit 4b79881472
4 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ describe('System', function () {
// does not work on archlinux 8!
if (require('child_process').execSync('uname -a').toString().indexOf('-arch') !== -1) return;
const disks = await system._getFilesystems();
const disks = await system.getFilesystems();
expect(disks).to.be.ok();
expect(Object.keys(disks).some(fs => disks[fs].mountpoint === '/')).to.be.ok();
});