Summary:
Daily bump keeps the yada yada. Only patch updates or safe ones.

allow-large-files

Reviewed By: nikoant

Differential Revision: D28636754

fbshipit-source-id: d2a8c7fc0779bea30ff6532ae076694ce0e1fffa
This commit is contained in:
Pascal Hartig
2021-05-25 08:52:01 -07:00
committed by Facebook GitHub Bot
parent 526e0ddd01
commit bca8030df8
4 changed files with 169 additions and 46 deletions

View File

@@ -34,7 +34,8 @@ beforeEach(() => {
jest.mock('fs-extra', () => jest.fn());
fs.pathExists = jest.fn().mockResolvedValue(true);
fs.pathExistsSync = jest.fn().mockReturnValue(true);
fs.lstatSync = jest.fn().mockReturnValue({
// Required by some inconsistent node types for rw access.
(fs.lstatSync as any) = jest.fn().mockReturnValue({
isFile: function () {
return true;
},