09c1114e71
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/
11 lines
783 B
TypeScript
11 lines
783 B
TypeScript
--- electron/spec-main/api-process-spec.ts.orig 2022-10-19 17:31:10.000000000 +0200
|
|
+++ electron/spec-main/api-process-spec.ts 2022-12-02 17:44:33.364867000 +0100
|
|
@@ -54,7 +54,7 @@ describe('process module', () => {
|
|
it('resolves promise successfully with valid data', async () => {
|
|
const memoryInfo = await w.webContents.executeJavaScript('process.getProcessMemoryInfo()');
|
|
expect(memoryInfo).to.be.an('object');
|
|
- if (process.platform === 'linux' || process.platform === 'win32') {
|
|
+ if (process.platform === 'linux' || process.platform === 'win32' || process.platform === 'freebsd') {
|
|
expect(memoryInfo.residentSet).to.be.a('number').greaterThan(0);
|
|
}
|
|
expect(memoryInfo.private).to.be.a('number').greaterThan(0);
|