Don't run error event on Linux
This commit is contained in:
parent
13e4582697
commit
c2d4c93e12
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,10 @@ if (!process.mas) {
|
|||
|
||||
describe('error event', function () {
|
||||
it('serializes correctly over the remote module', function (done) {
|
||||
if (process.platform === 'linux') {
|
||||
return done()
|
||||
}
|
||||
|
||||
autoUpdater.once('error', function (error) {
|
||||
assert.equal(error instanceof Error, true)
|
||||
assert.deepEqual(Object.getOwnPropertyNames(error), ['stack', 'message', 'name'])
|
||||
|
|
Loading…
Add table
Reference in a new issue