projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e4582
)
Don't run error event on Linux
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Fri, 21 Apr 2017 23:50:19 +0000
(16:50 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Mon, 24 Apr 2017 16:47:30 +0000
(09:47 -0700)
spec/api-auto-updater-spec.js
patch
|
blob
|
history
diff --git
a/spec/api-auto-updater-spec.js
b/spec/api-auto-updater-spec.js
index 3e2be93d138118d58c25552a56f880f14aa654e3..df77822e456dc46984491c45b0dac11a7a6e4e5c 100644
(file)
--- a/
spec/api-auto-updater-spec.js
+++ b/
spec/api-auto-updater-spec.js
@@
-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'])