Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

Commit

Permalink
fix: tests working on browser #4
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jan 22, 2018
1 parent c109b95 commit 152c12b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .aegir.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict'

const createServer = require('ipfsd-ctl').createServer
const server = createServer()

module.exports = {
hooks: {
browser: {
pre: server.start.bind(server),
post: server.stop.bind(server)
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"lint": "aegir lint",
"release": "aegir release",
"build": "aegir build",
"test": "aegir test --target node",
"test": "aegir test",
"coverage": "aegir coverage",
"coverage-publish": "aegir coverage --upload"
},
Expand Down

0 comments on commit 152c12b

Please sign in to comment.