fix: enable some tests that were accidentally disabled (#46844)

* fix: tests that were not run in api-app-spec due to nested it()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* fix: tests that were not run in api-browser-window-spec due to nested it()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* chore: annotate disabled test

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
trop[bot] 2025-04-30 12:16:41 -05:00 committed by GitHub
parent 643b35503f
commit 77b945dd0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 23 deletions

View file

@ -84,7 +84,7 @@ describe('app module', () => {
});
describe('app name APIs', () => {
it('with properties', () => {
describe('with properties', () => {
it('returns the name field of package.json', () => {
expect(app.name).to.equal('Electron Test Main');
});
@ -98,7 +98,7 @@ describe('app module', () => {
});
});
it('with functions', () => {
describe('with functions', () => {
it('returns the name field of package.json', () => {
expect(app.getName()).to.equal('Electron Test Main');
});
@ -988,7 +988,7 @@ describe('app module', () => {
});
});
it('with functions', () => {
describe('with functions', () => {
it('can set accessibility support enabled', () => {
expect(app.isAccessibilitySupportEnabled()).to.eql(false);