|
1 | | ---- electron/spec/api-app-spec.ts.orig 2024-02-27 20:12:14 UTC |
| 1 | +--- electron/spec/api-app-spec.ts.orig 2024-03-27 09:20:29 UTC |
2 | 2 | +++ electron/spec/api-app-spec.ts |
3 | 3 | @@ -123,11 +123,11 @@ describe('app module', () => { |
4 | 4 | }); |
|
50 | 50 | const isMac = process.platform === 'darwin'; |
51 | 51 | const isWin = process.platform === 'win32'; |
52 | 52 |
|
53 | | -@@ -975,7 +975,7 @@ describe('app module', () => { |
| 53 | +@@ -976,7 +976,7 @@ describe('app module', () => { |
54 | 54 | }); |
55 | 55 | }); |
56 | 56 |
|
|
59 | 59 | it('with properties', () => { |
60 | 60 | it('can set accessibility support enabled', () => { |
61 | 61 | expect(app.accessibilitySupportEnabled).to.eql(false); |
62 | | -@@ -1137,7 +1137,7 @@ describe('app module', () => { |
| 62 | +@@ -1138,7 +1138,7 @@ describe('app module', () => { |
63 | 63 | }); |
64 | 64 | }); |
65 | 65 |
|
|
68 | 68 | let w: BrowserWindow; |
69 | 69 |
|
70 | 70 | before(function () { |
71 | | -@@ -1272,7 +1272,7 @@ describe('app module', () => { |
| 71 | +@@ -1273,7 +1273,7 @@ describe('app module', () => { |
72 | 72 |
|
73 | 73 | describe('getApplicationNameForProtocol()', () => { |
74 | 74 | // TODO: Linux CI doesn't have registered http & https handlers |
|
77 | 77 | // We can't expect particular app names here, but these protocols should |
78 | 78 | // at least have _something_ registered. Except on our Linux CI |
79 | 79 | // environment apparently. |
80 | | -@@ -1290,7 +1290,7 @@ describe('app module', () => { |
| 80 | +@@ -1291,7 +1291,7 @@ describe('app module', () => { |
81 | 81 | }); |
82 | 82 | }); |
83 | 83 |
|
|
86 | 86 | it('returns promise rejection for a bogus protocol', async function () { |
87 | 87 | await expect( |
88 | 88 | app.getApplicationInfoForProtocol('bogus-protocol://') |
89 | | -@@ -1340,7 +1340,7 @@ describe('app module', () => { |
| 89 | +@@ -1341,7 +1341,7 @@ describe('app module', () => { |
90 | 90 | }); |
91 | 91 |
|
92 | 92 | // FIXME Get these specs running on Linux CI |
|
95 | 95 | const iconPath = path.join(__dirname, 'fixtures/assets/icon.ico'); |
96 | 96 | const sizes = { |
97 | 97 | small: 16, |
98 | | -@@ -1421,7 +1421,7 @@ describe('app module', () => { |
| 98 | +@@ -1422,7 +1422,7 @@ describe('app module', () => { |
99 | 99 | expect(entry.memory).to.have.property('privateBytes').that.is.greaterThan(0); |
100 | 100 | } |
101 | 101 |
|
|
104 | 104 | expect(entry.sandboxed).to.be.a('boolean'); |
105 | 105 | } |
106 | 106 |
|
107 | | -@@ -1447,7 +1447,7 @@ describe('app module', () => { |
| 107 | +@@ -1448,7 +1448,7 @@ describe('app module', () => { |
108 | 108 | }); |
109 | 109 |
|
110 | 110 | // FIXME https://github.com/electron/electron/issues/24224 |
|
113 | 113 | const appPath = path.join(fixturesPath, 'api', 'gpu-info.js'); |
114 | 114 |
|
115 | 115 | const getGPUInfo = async (type: string) => { |
116 | | -@@ -1496,7 +1496,7 @@ describe('app module', () => { |
| 116 | +@@ -1497,7 +1497,7 @@ describe('app module', () => { |
117 | 117 |
|
118 | 118 | it('succeeds with complete GPUInfo', async () => { |
119 | 119 | const completeInfo = await getGPUInfo('complete'); |
|
122 | 122 | // For linux and macOS complete info is same as basic info |
123 | 123 | await verifyBasicGPUInfo(completeInfo); |
124 | 124 | const basicInfo = await getGPUInfo('basic'); |
125 | | -@@ -1520,7 +1520,7 @@ describe('app module', () => { |
| 125 | +@@ -1521,7 +1521,7 @@ describe('app module', () => { |
126 | 126 | }); |
127 | 127 | }); |
128 | 128 |
|
|
0 commit comments