mirror of
https://github.com/Permissionless-Software-Foundation/psf-bch-api.git
synced 2026-09-21 16:52:00 -07:00
fixing tests
This commit is contained in:
@@ -26,6 +26,9 @@ describe('#full-node-rpc.js', () => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
sandbox = sinon.createSandbox()
|
sandbox = sinon.createSandbox()
|
||||||
mockAxiosInstance = {
|
mockAxiosInstance = {
|
||||||
|
defaults: {
|
||||||
|
baseURL: baseConfig.fullNode.rpcBaseUrl
|
||||||
|
},
|
||||||
post: sandbox.stub()
|
post: sandbox.stub()
|
||||||
}
|
}
|
||||||
axiosCreateStub = sandbox.stub(axios, 'create').returns(mockAxiosInstance)
|
axiosCreateStub = sandbox.stub(axios, 'create').returns(mockAxiosInstance)
|
||||||
|
|||||||
Reference in New Issue
Block a user