react-native-github: set path mock to posix by default

Summary:
@public

Otherwise tests using `path` but not `fs` have an empty mock, as it happens on https://github.com/facebook/metro/issues/235#issuecomment-423722747

Reviewed By: mjesun

Differential Revision: D10008513

fbshipit-source-id: 673e2ca79c8105a68818985dc08fe7ccd5d13881
This commit is contained in:
Jean Lauliac 2018-09-24 06:22:05 -07:00 коммит произвёл Facebook Github Bot
Родитель 65e4e674fc
Коммит 9c242c8a2f
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -17,4 +17,6 @@ function reset(platform) {
mockPath.mock = {reset}; mockPath.mock = {reset};
reset('posix');
module.exports = mockPath; module.exports = mockPath;