1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +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 Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
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 Remove usages of xtend from the background scripts (#7796) 2020-01-13 08:59:36 -10:00
platforms Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
background.js Allow exporting state during e2e tests (#7860) 2020-01-17 18:59:25 -04:00
chromereload.js
contentscript.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
first-time-state.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
inpage.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
metamask-controller.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
phishing-detect.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
ui.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00

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