Skip to content

Commit

Permalink
wip: explicit ipfsModule
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jan 16, 2020
1 parent b2b82e4 commit 9fc3205
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/e2e/setup/global-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ module.exports = async function globalSetup (globalConfig) {
test: true // sets up all CORS headers required for accessing HTTP API port of ipfsd node
}, {
// overrides: call findBin here to ensure we use version from devDependencies, and not from ipfsd-ctl
js: { ipfsBin: findBin('js') },
js: {
ipfsBin: findBin('js'),
ipfsModule: {
ref: require('ipfs'),
path: require.resolve('ipfs')
}
},
go: { ipfsBin: findBin('go') }
})
ipfs = ipfsd.api
Expand Down

0 comments on commit 9fc3205

Please sign in to comment.