Fix system test
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user