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

Commit

Permalink
fix repo path for tests in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed May 26, 2016
1 parent 6f70f83 commit 8080a5f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/core-tests/repo-path.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
'use strict'

const path = require('path')
const isNode = require('detect-node')

module.exports = path.join(__dirname, '../repo-tests-run')
if (isNode) {
module.exports = path.join(__dirname, '../repo-tests-run')
} else {
module.exports = 'ipfs'
}

0 comments on commit 8080a5f

Please sign in to comment.