From e6c1fb72128fb13436028c2df9cdccf6ccfccb67 Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Sun, 17 Dec 2017 22:21:22 +0100 Subject: [PATCH] Fix Flow (2/2) Define missing "beforeEach" so that Flow does not complain. Facebook is probably having these defined in another manner which makes their internal test suite pass. --- local-cli/__tests__/fs-mock-test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/local-cli/__tests__/fs-mock-test.js b/local-cli/__tests__/fs-mock-test.js index d1c5e04380ad85..175ebcaccc9ae8 100644 --- a/local-cli/__tests__/fs-mock-test.js +++ b/local-cli/__tests__/fs-mock-test.js @@ -17,6 +17,7 @@ declare var jest: any; declare var describe: any; +declare var beforeEach: any; declare var expect: any; declare var it: any;