bump fs-extra types
Summary: `recursive` was dropped in when [dropping](https://github.com/jprichardson/node-fs-extra/issues/886) node v10 Reviewed By: aigoncharov Differential Revision: D48780242 fbshipit-source-id: 29349590a7f14da85fe8df28b20d9b418e7a8b1d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d04abff530
commit
f2ef26cd9a
@@ -99,6 +99,7 @@ describe('getWatchFolders', () => {
|
||||
};
|
||||
const readReadJson = fs.readJson;
|
||||
try {
|
||||
// @ts-expect-error readJson is read only and it is fine, this is a test
|
||||
fs.readJson = readJsonMock as any;
|
||||
const resolvedFolders = await getWatchFolders(
|
||||
path.join(rootDir, 'local_module_2'),
|
||||
@@ -115,6 +116,7 @@ describe('getWatchFolders', () => {
|
||||
]
|
||||
`);
|
||||
} finally {
|
||||
// @ts-expect-error readJson is read only and it is fine, this is a test
|
||||
fs.readJson = readReadJson;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user