Skip to content

Commit

Permalink
test: remove timeout setting for git-check-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelzhang committed Dec 19, 2022
1 parent 9e4e370 commit 69ea16f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/git-check-ignore.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {test} = require('tap')
const tap = require('tap')
const spawn = require('spawn-sync')
const tmp = require('tmp').dirSync
const mkdirp = require('mkdirp').sync
Expand All @@ -13,6 +13,12 @@ const {
IS_WINDOWS
} = require('./fixtures/cases')

const {test} = tap

// This test file is related to dealing with file systems which takes time,
// so remove timeout setting.
tap.setTimeout(0)

const touch = (root, file, content) => {
const dirs = file.split('/')
const basename = dirs.pop()
Expand Down

0 comments on commit 69ea16f

Please sign in to comment.