mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
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/
38 lines
1.9 KiB
TypeScript
38 lines
1.9 KiB
TypeScript
--- electron/spec/api-screen-spec.ts.orig 2023-05-31 14:28:29 UTC
|
|
+++ electron/spec/api-screen-spec.ts
|
|
@@ -29,7 +29,7 @@ describe('screen module', () => {
|
|
expect(display).to.be.an('object');
|
|
});
|
|
|
|
- ifit(process.platform !== 'linux')('has the correct non-object properties', function () {
|
|
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('has the correct non-object properties', function () {
|
|
const display = screen.getPrimaryDisplay();
|
|
|
|
expect(display).to.have.property('scaleFactor').that.is.a('number');
|
|
@@ -46,7 +46,7 @@ describe('screen module', () => {
|
|
expect(display).to.have.property('displayFrequency').that.is.a('number');
|
|
});
|
|
|
|
- ifit(process.platform !== 'linux')('has a size object property', function () {
|
|
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('has a size object property', function () {
|
|
const display = screen.getPrimaryDisplay();
|
|
|
|
expect(display).to.have.property('size').that.is.an('object');
|
|
@@ -55,7 +55,7 @@ describe('screen module', () => {
|
|
expect(size).to.have.property('height').that.is.greaterThan(0);
|
|
});
|
|
|
|
- ifit(process.platform !== 'linux')('has a workAreaSize object property', function () {
|
|
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('has a workAreaSize object property', function () {
|
|
const display = screen.getPrimaryDisplay();
|
|
|
|
expect(display).to.have.property('workAreaSize').that.is.an('object');
|
|
@@ -64,7 +64,7 @@ describe('screen module', () => {
|
|
expect(workAreaSize).to.have.property('height').that.is.greaterThan(0);
|
|
});
|
|
|
|
- ifit(process.platform !== 'linux')('has a bounds object property', function () {
|
|
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('has a bounds object property', function () {
|
|
const display = screen.getPrimaryDisplay();
|
|
|
|
expect(display).to.have.property('bounds').that.is.an('object');
|