mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
@@ -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'
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
"devDependencies": {
|
||||
"formidable": "1.0.16",
|
||||
"pathwatcher": "3.x",
|
||||
"q": "0.9.7",
|
||||
"mocha": "2.1.0",
|
||||
"runas": "2.x",
|
||||
|
||||
Reference in New Issue
Block a user