@@ -112,3 +112,9 @@ test('GNOME GI imports expose default namespaces and panel has a real menu', ()
|
||||
assert.match(source, /PushToTalk/);
|
||||
assert.match(source, /finalizeReply/);
|
||||
});
|
||||
|
||||
test('D-Bus confirmation signal does not call missing Interface.emit', () => {
|
||||
const dbusSource = readFileSync(new URL('../daemon/dbus-service.js', import.meta.url), 'utf8');
|
||||
assert.match(dbusSource, /ConfirmationRequired\(tool, args, pattern\) \{ return \[String\(tool\)/);
|
||||
assert.doesNotMatch(dbusSource, /ConfirmationRequired\(tool, args, pattern\) \{ this\.emit/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user