chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314)
This commit is contained in:
parent
0090616f7b
commit
3ac3fbdbfb
94 changed files with 670 additions and 1213 deletions
|
@ -28,11 +28,12 @@ ifdescribe(!skip)('Notification module (dbus)', () => {
|
|||
// init app
|
||||
app.name = appName
|
||||
app.setDesktopName(`${appName}.desktop`)
|
||||
// init dbus
|
||||
|
||||
// init DBus
|
||||
const path = '/org/freedesktop/Notifications'
|
||||
const iface = 'org.freedesktop.DBus.Mock'
|
||||
const bus = dbus.sessionBus()
|
||||
console.log(`session bus: ${process.env.DBUS_SESSION_BUS_ADDRESS}`)
|
||||
const bus = dbus.sessionBus()
|
||||
const service = bus.getService(serviceName)
|
||||
const getInterface = promisify(service.getInterface.bind(service))
|
||||
mock = await getInterface(path, iface)
|
||||
|
@ -42,7 +43,7 @@ ifdescribe(!skip)('Notification module (dbus)', () => {
|
|||
|
||||
after(async () => {
|
||||
// cleanup dbus
|
||||
await reset()
|
||||
if (reset) await reset()
|
||||
// cleanup app
|
||||
app.setName(realAppName)
|
||||
app.setVersion(realAppVersion)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue