Fix system test

This commit is contained in:
Girish Ramakrishnan
2023-12-03 15:05:26 +01:00
parent 5857c05e01
commit b9e584752b

View File

@@ -31,7 +31,7 @@ describe('System', function () {
const swaps = await system.getSwaps();
expect(swaps).to.be.ok();
expect(Object.keys(swaps).some(n => swaps[n].type === 'partition')).to.be.ok();
expect(Object.keys(swaps).some(n => swaps[n].type === 'partition' || swaps[n].type === 'file')).to.be.ok();
});
it('can check for disk space', async function () {