1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/test/unit/app
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
..
controllers Fix site metadata JSON-RPC handler (#10243) 2021-01-22 10:27:07 -08:00
account-import-strategies.spec.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
buy-eth-url.spec.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
cleanErrorStack.spec.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
ComposableObservableStore.js @metamask/obs-store@5.0.0 (#10092) 2020-12-16 13:14:49 -08:00
fetch-with-timeout.test.js Fetch with a timeout everywhere (#10101) 2021-01-19 08:41:57 -08:00
message-manager-test.js expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
nodeify-test.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
personal-message-manager-test.js expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
seed-phrase-verifier-test.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
typed-message-manager.spec.js expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
util-test.js Add MAX_SAFE_CHAIN_ID and refactor chain ID validation (#10224) 2021-01-20 15:37:18 -08:00