1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/app/scripts
Mark Stacey 7b35ea6400
Allow exporting state during e2e tests (#7860)
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.
2020-01-17 18:59:25 -04:00
..
account-import-strategies
controllers Remove MetaMask Mesh testing client (#7818) 2020-01-14 15:44:12 -03:30
lib Clean up Migrator test cases (#7835) 2020-01-15 13:54:28 -08:00
migrations
platforms
background.js Allow exporting state during e2e tests (#7860) 2020-01-17 18:59:25 -04:00
chromereload.js
contentscript.js
first-time-state.js
inpage.js
metamask-controller.js
phishing-detect.js
README.md
ui.js

Main MetaMask Code

This folder contains the core-code.

Currently, it is organized mostly based on file category, like:

controllers, migrations, lib

Ongoing Task

Refactor code-structure, thus the subsystems are reflected on the filesystem.

Examples