1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-25 21:00:23 +02:00
metamask-extension/test/unit/app/controllers
Thomas Huang 1dad4abfdc
Fix site metadata JSON-RPC handler (#10243)
* Fix getting the site metadata from the request origin params.

Regressed from inpage-provider ts migration the request. The property domainMetadata is now set as a params key for the request.

https://github.com/MetaMask/inpage-provider/blob/v7.0.0/src/siteMetadata.js#L19-L25
vs
https://github.com/MetaMask/inpage-provider/blob/main/src/siteMetadata.ts#L19-L27

* Change hardcoded mocked response of the request to the prod response.
2021-01-22 10:27:07 -08:00
..
network expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
permissions Fix site metadata JSON-RPC handler (#10243) 2021-01-22 10:27:07 -08:00
transactions @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
cached-balances-test.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
detect-tokens-test.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
ens-controller-test.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
incoming-transactions-test.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
metamask-controller-test.js @metamask/inpage-provider@^8.0.0 (#8640) 2020-12-08 11:48:47 -08:00
metametrics-test.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
preferences-controller-test.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
swaps-test.js Further improve organization of constants (#10200) 2021-01-20 08:13:14 -08:00
token-rates-controller.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00