summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-electron_spec_api-net-log-spec.js
blob: b1efc629f2e1a24f0117e08fe6b4817963ffc93a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- electron/spec/api-net-log-spec.js.orig	2019-05-14 02:57:56 UTC
+++ electron/spec/api-net-log-spec.js
@@ -95,7 +95,7 @@ describe('netLog module', () => {
   })
 
   it('should begin and end logging automatically when --log-net-log is passed', done => {
-    if (isCI && process.platform === 'linux') {
+    if (isCI && (process.platform === 'linux' || process.platform === 'freebsd')) {
       done()
       return
     }
@@ -116,7 +116,7 @@ describe('netLog module', () => {
 
   // FIXME(deepak1556): Ch69 follow up.
   xit('should begin and end logging automtically when --log-net-log is passed, and behave correctly when .startLogging() and .stopLogging() is called', done => {
-    if (isCI && process.platform === 'linux') {
+    if (isCI && (process.platform === 'linux' || process.platform === 'freebsd')) {
       done()
       return
     }
@@ -139,7 +139,7 @@ describe('netLog module', () => {
   })
 
   it('should end logging automatically when only .startLogging() is called', done => {
-    if (isCI && process.platform === 'linux') {
+    if (isCI && (process.platform === 'linux' || process.platform === 'freebsd')) {
       done()
       return
     }