test: remove a few casts to any (#39713)

This commit is contained in:
Milan Burda 2023-09-05 04:22:41 +02:00 committed by GitHub
parent c5b20eeb13
commit d76a35afe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 21 deletions

View file

@ -2343,7 +2343,7 @@ describe('BrowserWindow module', () => {
expect(w.isAlwaysOnTop()).to.be.false();
expect(c.isAlwaysOnTop()).to.be.true('child is not always on top');
expect((c as any)._getAlwaysOnTopLevel()).to.equal('screen-saver');
expect(c._getAlwaysOnTopLevel()).to.equal('screen-saver');
});
});