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

Commit

Permalink
test: better way to skip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Nov 14, 2017
1 parent 32d748c commit 2da6edc
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/diag.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ const expect = chai.expect
chai.use(dirtyChai)
const os = require('os')

if (os.platform() === 'win32') {
describe.skip('.diag', () => {
it('NYI on Windows', () => {})
})
return
}

describe('.diag', function () {
this.timeout(50 * 1000)

if (os.platform() === 'win32') {
it('skip these on Windows')
return
}

let ipfs
let fc

Expand Down

0 comments on commit 2da6edc

Please sign in to comment.