Skip to content

Commit c821fab

Browse files
committed
Add failing test case for unlink and re-add
1 parent 4813aec commit c821fab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ function runTests(baseopts) {
428428
var unlinkSpy = sinon.spy(function unlinkSpy(){});
429429
var addSpy = sinon.spy(function addSpy(){});
430430
var testPath = getFixturePath('unlink.txt');
431-
watcher = chokidar.watch(testPath, options)
431+
watcher = chokidar.watch([testPath, testPath + '.does-not-exist'], options)
432432
.on('unlink', unlinkSpy)
433433
.on('add', addSpy)
434434
.on('ready', function() {

0 commit comments

Comments
 (0)