mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-21 00:23:22 +00:00
Un-skip fs-utils test
This commit is contained in:
@ -90,13 +90,7 @@ describe('lib/fs-utils', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
describe('exists', () => {
|
||||||
* TODO: Un-skip this test after all fs tests that write to a test file system use
|
|
||||||
* mock-fs instead. Hypothesis: exists isn't handling the relative directory it's
|
|
||||||
* being passed well. When all unit tests use mock-fs, we can set process.env.ROOT_MOUNTPOINT
|
|
||||||
* to `/mnt/root` so we can have an absolute path in all these tests.
|
|
||||||
*/
|
|
||||||
describe.skip('exists', () => {
|
|
||||||
before(mockFs);
|
before(mockFs);
|
||||||
after(unmockFs);
|
after(unmockFs);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user