Skip to content

Commit

Permalink
feat(AEX_2): Fix RPC test's
Browse files Browse the repository at this point in the history
  • Loading branch information
nduchak committed May 20, 2020
1 parent 98e9819 commit 254a940
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/browser/extension/src/js/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import BrowserRuntimeConnection
from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/connection/browser-runtime'
import BrowserWindowMessageConnection
from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/connection/browser-window-message'
import { getBrowserAPI, isInIframe } from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/helpers'
import { getBrowserAPI } from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/helpers'
import { MESSAGE_DIRECTION } from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/schema'
import ContentScriptBridge from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/content-script-bridge'

Expand Down
1 change: 1 addition & 0 deletions test/integration/rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -674,5 +674,6 @@ describe('Aepp<->Wallet', function () {
const getConnections = (direct) => {
global.chrome = { runtime: {} }
global.window = { location: { origin: '//test' } }
global.location = { protocol: 'http://test.com' }
return getFakeConnections(direct)
}

0 comments on commit 254a940

Please sign in to comment.