Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 6865e8f

Browse files
committed
fixes refreshIdentities tests
1 parent 53db314 commit 6865e8f

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

test/profiles/store/identity/actions/async.test.js

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,11 @@ describe('Identity Store: Async Actions', () => {
221221

222222
const store = mockStore(initialState)
223223

224-
const mockAPI = Object.assign({}, DEFAULT_API, {})
224+
const mockAPI = Object.assign({}, DEFAULT_API, {
225+
gaiaHubConfig: {
226+
url_prefix: 'https://gaia.blockstack.org/hub/'
227+
}
228+
})
225229

226230
const addresses = [address]
227231

@@ -288,7 +292,11 @@ describe('Identity Store: Async Actions', () => {
288292

289293
const store = mockStore(initialState)
290294

291-
const mockAPI = Object.assign({}, DEFAULT_API, {})
295+
const mockAPI = Object.assign({}, DEFAULT_API, {
296+
gaiaHubConfig: {
297+
url_prefix: 'https://gaia.blockstack.org/hub/'
298+
}
299+
})
292300

293301
const addresses = [address]
294302

@@ -369,7 +377,11 @@ describe('Identity Store: Async Actions', () => {
369377

370378
const store = mockStore(initialState)
371379

372-
const mockAPI = Object.assign({}, DEFAULT_API, {})
380+
const mockAPI = Object.assign({}, DEFAULT_API, {
381+
gaiaHubConfig: {
382+
url_prefix: 'https://gaia.blockstack.org/hub/'
383+
}
384+
})
373385

374386
const addresses = [dummyAddress, dummyAddress, dummyAddress, address]
375387

0 commit comments

Comments
 (0)