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

Commit

Permalink
Merge pull request #274 from ipfs/fix/last-pr
Browse files Browse the repository at this point in the history
fix repo path for tests in browser
  • Loading branch information
daviddias committed May 26, 2016
2 parents 6f70f83 + 8080a5f commit a699324
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 a699324

Please sign in to comment.