ports/devel/electron4/files/patch-electron_spec_api-net-log-spec.js
Luca Pizzamiglio 2f40d531c4 devel/electron4: Add electron 4.2.2
Finally, after a long wait, an electron port for FreeBSD lands in the
portstree.

A huge thanks to everyone contributed to this huge effort and to the
maintainer that is willing to take the burden of the maintainership!
2019-05-28 09:12:02 +00:00

29 lines
1.1 KiB
JavaScript

--- 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
}