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

Commit

Permalink
fix: move skipOnWindows to top
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Feb 27, 2018
1 parent 5925ecc commit fe9e06e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/cli/daemon.js
Expand Up @@ -12,6 +12,9 @@ const path = require('path')
const hat = require('hat')
const fs = require('fs')

const skipOnWindows = isWindows() ? it.skip : it


const checkLock = (repo, cb) => {
// skip on windows
// https://github.com/ipfs/js-ipfsd-ctl/pull/155#issuecomment-326983530
Expand Down Expand Up @@ -65,6 +68,7 @@ function testSignal (ipfs, sig) {
}

describe('daemon', () => {

let repoPath
let ipfs

Expand Down Expand Up @@ -92,8 +96,6 @@ describe('daemon', () => {
}).catch(err => done(err))
})

const skipOnWindows = isWindows() ? it.skip : it

skipOnWindows('should handle SIGINT gracefully', function (done) {
this.timeout(100 * 1000)

Expand Down

0 comments on commit fe9e06e

Please sign in to comment.