spec: Disable crash reporter test for MAS build
authorCheng Zhao <zcbenz@gmail.com>
Mon, 28 Sep 2015 07:08:27 +0000 (15:08 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 14 Oct 2015 03:53:53 +0000 (11:53 +0800)
spec/api-crash-reporter-spec.coffee

index 60b630b..ef60e6a 100644 (file)
@@ -18,6 +18,9 @@ describe 'crash-reporter module', ->
   # It is not working on 64bit Windows.
   return if process.platform is 'win32' and process.arch is 'x64'
 
+  # It is not working for mas build.
+  return if process.mas
+
   # The crash-reporter test is not reliable on CI machine.
   isCI = remote.process.argv[2] == '--ci'
   return if isCI