Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

fix: disable Browser test on Windows #710

Merged
merged 1 commit into from
Mar 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
},
"devDependencies": {
"aegir": "^13.0.6",
"browser-process-platform": "^0.1.1",
"chai": "^4.1.2",
"cross-env": "^5.1.3",
"dirty-chai": "^2.0.1",
Expand Down
4 changes: 2 additions & 2 deletions test/diag.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const chai = require('chai')
const dirtyChai = require('dirty-chai')
const expect = chai.expect
chai.use(dirtyChai)
const os = require('os')
const platform = require('browser-process-platform')

const IPFSApi = require('../src')
const f = require('./utils/factory')
Expand All @@ -14,7 +14,7 @@ describe('.diag', function () {
this.timeout(50 * 1000)

// go-ipfs does not support these on Windows
if (os.platform() === 'win32') { return }
if (platform === 'win32') { return }

let ipfsd
let ipfs
Expand Down