aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-electron_spec_api-tray-spec.ts
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
commitf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch)
treead799ccacfb459b809b02b9c115ed4befb93b4c1 /devel/electron37/files/patch-electron_spec_api-tray-spec.ts
parent0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff)
parentb057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/main
Diffstat (limited to 'devel/electron37/files/patch-electron_spec_api-tray-spec.ts')
-rw-r--r--devel/electron37/files/patch-electron_spec_api-tray-spec.ts18
1 files changed, 17 insertions, 1 deletions
diff --git a/devel/electron37/files/patch-electron_spec_api-tray-spec.ts b/devel/electron37/files/patch-electron_spec_api-tray-spec.ts
index cb822fdca402..a2cc8bcf183b 100644
--- a/devel/electron37/files/patch-electron_spec_api-tray-spec.ts
+++ b/devel/electron37/files/patch-electron_spec_api-tray-spec.ts
@@ -1,5 +1,21 @@
---- electron/spec/api-tray-spec.ts.orig 2024-10-09 13:53:06 UTC
+--- electron/spec/api-tray-spec.ts.orig 2025-08-25 07:57:03 UTC
+++ electron/spec/api-tray-spec.ts
+@@ -30,13 +30,13 @@ describe('tray module', () => {
+ }).to.throw(/Failed to load image from path (.+)/);
+ });
+
+- ifit(process.platform !== 'linux')('throws a descriptive error if an invalid guid is given', () => {
++ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('throws a descriptive error if an invalid guid is given', () => {
+ expect(() => {
+ tray = new Tray(nativeImage.createEmpty(), 'I am not a guid');
+ }).to.throw('Invalid GUID format');
+ });
+
+- ifit(process.platform !== 'linux')('accepts a valid guid', () => {
++ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('accepts a valid guid', () => {
+ expect(() => {
+ tray = new Tray(nativeImage.createEmpty(), '0019A433-3526-48BA-A66C-676742C0FEFB');
+ }).to.not.throw();
@@ -131,7 +131,7 @@ describe('tray module', () => {
describe('tray.getBounds()', () => {
afterEach(() => { tray.destroy(); });