Mockable fake path module
// Example in TypeScript
import { FakePath, symCwd, symRoot } from 'simple-fake-path' // FakePath is an abstract class
class Path extends FakePath {
public readonly [symCwd] = '/working/directory'
public readonly [symRoot] = ['/']
public readonly sep = '/'
}
const path = new Path() // you can access to some path methods from here
Generated using TypeDoc