No more need of pathwatcher spec

It was used for testing modules not working while compiling, since the
module version increases for ABI breakage, it is not useful anymore.
This commit is contained in:
Cheng Zhao 2015-01-30 16:50:42 -08:00
parent 2ed7d58ac4
commit 13c887d4c9
2 changed files with 0 additions and 14 deletions

View file

@ -18,19 +18,6 @@ describe 'third-party module', ->
assert.equal msg, 'ok'
done()
describe 'pathwatcher', ->
it 'emits file events correctly', (done) ->
pathwatcher = require 'pathwatcher'
temp.mkdir 'dir', (err, dir) ->
return done() if err
file = path.join dir, 'file'
fs.writeFileSync file, 'content'
watcher = pathwatcher.watch file, (event) ->
assert.equal event, 'change'
watcher.close()
done()
fs.writeFileSync file, 'content2'
describe 'q', ->
Q = require 'q'

View file

@ -6,7 +6,6 @@
"devDependencies": {
"formidable": "1.0.16",
"pathwatcher": "3.x",
"q": "0.9.7",
"mocha": "2.1.0",
"runas": "2.x",