UNPKG
mock-fs-require-fix
Version:
latest (1.0.1)
1.0.1
1.0.0
Fork of the tschaub/mock-fs project.
github.com/Slayer95/mock-fs
Slayer95/mock-fs
mock-fs-require-fix
/
fixtures
/
mock-fs-child.js
7 lines
(4 loc)
•
139 B
JavaScript
View Raw
1
2
3
4
5
6
7
'use strict'
;
const
fs =
require
(
'fs'
);
const
path =
require
(
'path'
); fs.
accessSync
(path.
resolve
(__dirname,
'mock-fs-parent.js'
));