Skip to content

Commit 69ea16f

Browse files
committed
test: remove timeout setting for git-check-ignore
1 parent 9e4e370 commit 69ea16f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

test/git-check-ignore.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const {test} = require('tap')
1+
const tap = require('tap')
22
const spawn = require('spawn-sync')
33
const tmp = require('tmp').dirSync
44
const mkdirp = require('mkdirp').sync
@@ -13,6 +13,12 @@ const {
1313
IS_WINDOWS
1414
} = require('./fixtures/cases')
1515

16+
const {test} = tap
17+
18+
// This test file is related to dealing with file systems which takes time,
19+
// so remove timeout setting.
20+
tap.setTimeout(0)
21+
1622
const touch = (root, file, content) => {
1723
const dirs = file.split('/')
1824
const basename = dirs.pop()

0 commit comments

Comments
 (0)