feat: emit always-on-top-changed on macOS (#19462)

* feat: emit always-on-top-changed on macOS

* update event emission test for macos
This commit is contained in:
Shelley Vohr 2019-07-26 22:25:51 -07:00 committed by GitHub
parent 50c7eb58a1
commit 6c9d40ec33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View file

@ -1080,7 +1080,7 @@ describe('BrowserWindow module', () => {
expect(w.isAlwaysOnTop()).to.be.true('is not alwaysOnTop')
})
ifit(process.platform !== 'darwin')('causes the right value to be emitted on `always-on-top-changed`', (done) => {
it('causes the right value to be emitted on `always-on-top-changed`', (done) => {
w.on('always-on-top-changed', (e, alwaysOnTop) => {
expect(alwaysOnTop).to.be.true('is not alwaysOnTop')
done()