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:
Anton Kastritskiy
2023-09-05 07:17:06 -07:00
committed by Facebook GitHub Bot
parent d04abff530
commit f2ef26cd9a
13 changed files with 132 additions and 83 deletions

View File

@@ -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;
}
});