mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
7b35ea6400
As of #7663, an in-memory store was used in place of local storage during e2e tests, to facilitate the use of state fixtures. However, this made it difficult to export state during a test run. The instructions for exporting state to create fixtures assumed that local storage was being used. A new global function has been added to the background context to allow exporting state. This method is available during testing and development, and it works with either local storage or the in-memory store. The fixture instructions have been updated to reference this new function. |
||
---|---|---|
.. | ||
data | ||
e2e | ||
integration | ||
lib | ||
stub | ||
unit | ||
unit-global | ||
web3 | ||
base.conf.js | ||
flat.conf.js | ||
helper.js | ||
setup.js |