// @ts-ignore
jest.mock('fs', () => {
const mockFs = require('memfs').fs;
return Object.assign(Object.assign({}, mockFs), { existsSync(path) {
if (path.endsWith('.node')) {
return true;
}
else {
return mockFs.existsSync(path);
}
} });
});
//# sourceMappingURL=mock-fs.js.map