Enable crashpad test on OS X.
This commit is contained in:
parent
4e2f242ad0
commit
98a9d8a9e3
1 changed files with 2 additions and 3 deletions
|
@ -5,12 +5,10 @@ url = require 'url'
|
||||||
remote = require 'remote'
|
remote = require 'remote'
|
||||||
formidable = require 'formidable'
|
formidable = require 'formidable'
|
||||||
|
|
||||||
|
crashReporter = remote.require 'crash-reporter'
|
||||||
BrowserWindow = remote.require 'browser-window'
|
BrowserWindow = remote.require 'browser-window'
|
||||||
|
|
||||||
describe 'crash-reporter module', ->
|
describe 'crash-reporter module', ->
|
||||||
# We have trouble makeing crash reporter work on Yosemite.
|
|
||||||
return if process.platform is 'darwin'
|
|
||||||
|
|
||||||
fixtures = path.resolve __dirname, 'fixtures'
|
fixtures = path.resolve __dirname, 'fixtures'
|
||||||
|
|
||||||
w = null
|
w = null
|
||||||
|
@ -47,4 +45,5 @@ describe 'crash-reporter module', ->
|
||||||
protocol: 'file'
|
protocol: 'file'
|
||||||
pathname: path.join fixtures, 'api', 'crash.html'
|
pathname: path.join fixtures, 'api', 'crash.html'
|
||||||
search: "?port=#{port}"
|
search: "?port=#{port}"
|
||||||
|
crashReporter.start {'submitUrl': 'http://127.0.0.1:' + port}
|
||||||
w.loadUrl url
|
w.loadUrl url
|
||||||
|
|
Loading…
Reference in a new issue