1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/e2e/tests/state-snapshots
Mark Stacey 4cf886f710
Initialize composable observable store after update (#20468)
* Initialize composable observable store after update

The composable observable store now updates state immediately when the
structure is updated. Previously each store would only be updated after
the first state change. This ensures that the composable observable
store state is always complete.

* SUpport falsy controller state

We now use the nullish coalescing operator when checkint store.state, so that we don't accidentally ignore falsy state.

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Add test for falsy controller state

* Update state snapshots

A change on `develop` required another state update.

---------

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2023-08-17 12:22:37 -02:30
..
errors-after-init-opt-in-background-state.json Initialize composable observable store after update (#20468) 2023-08-17 12:22:37 -02:30
errors-after-init-opt-in-ui-state.json Enable snaps in stable (#19134) 2023-08-17 15:43:01 +02:00
errors-before-init-opt-in-background-state.json Improve Sentry state pre-initialization (#20491) 2023-08-17 09:29:05 -02:30
errors-before-init-opt-in-ui-state.json Improve Sentry state pre-initialization (#20491) 2023-08-17 09:29:05 -02:30