Skip to content

Commit

Permalink
Merge pull request #682 from caseywebdev/unlink-and-readd
Browse files Browse the repository at this point in the history
Unlink and re-add fails when multiple paths are passed
  • Loading branch information
paulmillr committed Feb 15, 2018
2 parents 4813aec + c821fab commit a95a1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -428,7 +428,7 @@ function runTests(baseopts) {
var unlinkSpy = sinon.spy(function unlinkSpy(){});
var addSpy = sinon.spy(function addSpy(){});
var testPath = getFixturePath('unlink.txt');
watcher = chokidar.watch(testPath, options)
watcher = chokidar.watch([testPath, testPath + '.does-not-exist'], options)
.on('unlink', unlinkSpy)
.on('add', addSpy)
.on('ready', function() {
Expand Down

0 comments on commit a95a1f8

Please sign in to comment.