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 eadeaa7883 End-to-end test state fixtures (#7663)
* Add network store for testing

An alternative persistent state store has been created for use with e2e
tests. Instead of reading state from disk, it tries to load state from
a local fixture server running on port `12345` and serving state from
the path `/state.json`, and returns a blank state otherwise.

* Add e2e test fixture server

A fixture server has been added for serving background state, which the
background will read upon startup as part of restoring persisted state.

The `signature-request` e2e test has been updated to use a fixture to
bypass the registration step. The fixture used (`imported-account`) was
generated by pausing midway through that test run
2019-12-11 09:26:20 -08:00
..
account-import-strategies account-import-strategies - ensure privateKey is prefixed before converting to buffer 2018-06-13 21:06:33 -07:00
controllers Handle one specific permissions request per tab (#7620) 2019-12-05 17:05:50 -04:00
lib End-to-end test state fixtures (#7663) 2019-12-11 09:26:20 -08:00
migrations migrations - include 40 so that it runs on update (#7652) 2019-12-05 16:22:25 -04:00
platforms yarn lint --fix 2019-12-03 17:20:55 -03:30
background.js End-to-end test state fixtures (#7663) 2019-12-11 09:26:20 -08:00
chromereload.js
contentscript.js Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
first-time-state.js controllers - network - move default config out of first-time-state 2018-05-02 18:03:59 -07:00
inpage.js Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
metamask-controller.js Remove some unused MetaMaskController methods (#7666) 2019-12-09 13:11:44 -03:30
phishing-detect.js yarn lint --fix 2019-12-03 17:20:55 -03:30
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
ui.js yarn lint --fix 2019-12-03 17:20:55 -03:30

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