ports/devel/electron28/files/patch-electron_spec_api-net-log-spec.ts
Hiroki Tagato f88751e60a devel/electron28: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-01-29 16:47:07 +09:00

29 lines
1.9 KiB
TypeScript

--- electron/spec/api-net-log-spec.ts.orig 2023-05-31 14:28:29 UTC
+++ electron/spec/api-net-log-spec.ts
@@ -118,7 +118,7 @@ describe('netLog module', () => {
expect(JSON.parse(dump).events.some((x: any) => x.params && x.params.bytes && Buffer.from(x.params.bytes, 'base64').includes(unique))).to.be.true('uuid present in dump');
});
- ifit(process.platform !== 'linux')('should begin and end logging automatically when --log-net-log is passed', async () => {
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should begin and end logging automatically when --log-net-log is passed', async () => {
const appProcess = ChildProcess.spawn(process.execPath,
[appPath], {
env: {
@@ -131,7 +131,7 @@ describe('netLog module', () => {
expect(fs.existsSync(dumpFile)).to.be.true('dump file exists');
});
- ifit(process.platform !== 'linux')('should begin and end logging automatically when --log-net-log is passed, and behave correctly when .startLogging() and .stopLogging() is called', async () => {
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should begin and end logging automatically when --log-net-log is passed, and behave correctly when .startLogging() and .stopLogging() is called', async () => {
const appProcess = ChildProcess.spawn(process.execPath,
[appPath], {
env: {
@@ -147,7 +147,7 @@ describe('netLog module', () => {
expect(fs.existsSync(dumpFileDynamic)).to.be.true('dynamic dump file exists');
});
- ifit(process.platform !== 'linux')('should end logging automatically when only .startLogging() is called', async () => {
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('should end logging automatically when only .startLogging() is called', async () => {
const appProcess = ChildProcess.spawn(process.execPath,
[appPath], {
env: {