mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 18:11:04 +08:00
Not every chai assertion uses deep comparisons. For arrays, we need to make sure that not just the array itself, but also its contents and its members are equal. There are only a subset of assertions in chai that do that, so allow only these in our test assertions. R=dsv@chromium.org Fixed: 1218015 Change-Id: Ib7eb5864cf65a54ef17b9d637cd8e3b94323edb6 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2950163 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Danil Somsikov <dsv@chromium.org> Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Danil Somsikov <dsv@chromium.org>