mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-13 10:05:41 +08:00
Passing an aync callback to describe can cause unintended behavior in mocha helpers. Remove the `async` keyword to the describe callback. It is not needed. If in the future async work is needed before a test is run passing an async callback to `before` is the recommended approach. See https://mochajs.org/#using-async-await Bug: None Change-Id: I6ad2cef69ece58a91d333932d35e8ed5c6c1436b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4136865 Auto-Submit: John Emau <John.Emau@microsoft.com> Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org>