mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-11 10:34:06 +00:00
88bfca0a0d
* WA-280 Added redux logic for safe route * WA-280 Added tests including builders for safe's redux store classes * WA-280 Improving Flow coverage in actions and reducers * WA- 280 Mocking LocalStorage and Web3 in JEST * WA-280 Generating view of Safe route and its logic to store and retrieve info from localstorage * WA-280 Added run-with-testrpc for simulating a testnet in memory while executing tests
9 lines
212 B
JavaScript
9 lines
212 B
JavaScript
// @flow
|
|
import Web3 from 'web3'
|
|
|
|
const window = global.window || {}
|
|
window.web3 = window.web3 || {}
|
|
window.web3.currentProvider = new Web3.providers.HttpProvider('http://localhost:8545')
|
|
|
|
global.window = window
|