From: Cheng Zhao Date: Sat, 31 Jan 2015 00:50:42 +0000 (-0800) Subject: No more need of pathwatcher spec X-Git-Tag: v0.21.1~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=13c887d4c9291b5998f0754ea2e373b84c5605fe;p=electron.git 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. --- diff --git a/spec/modules-spec.coffee b/spec/modules-spec.coffee index 881b24bf..545d55e7 100644 --- a/spec/modules-spec.coffee +++ b/spec/modules-spec.coffee @@ -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' diff --git a/spec/package.json b/spec/package.json index 8634d43c..46afb4fd 100644 --- a/spec/package.json +++ b/spec/package.json @@ -6,7 +6,6 @@ "devDependencies": { "formidable": "1.0.16", - "pathwatcher": "3.x", "q": "0.9.7", "mocha": "2.1.0", "runas": "2.x",