mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-07 21:32:51 +00:00
Merge pull request #734 from PR0M3TH3AN/codex/add-view-channel-and-copy-npub-buttons
Add channel controls to profile modal lists
This commit is contained in:
4 files changed
+244
-26
No files matched your search
@@ -683,7 +683,9 @@ test('admin mutations invoke accessControl stubs and update admin DOM', async ()
|
||||
assert.equal(whitelistButton.hasAttribute('aria-busy'), false);
|
||||
assert.ok(successMessages.includes('Added to the whitelist.'));
|
||||
|
||||
const removeButton = controller.whitelistList.querySelector('button');
|
||||
const removeButton = controller.whitelistList.querySelector(
|
||||
'button[data-role="remove"]',
|
||||
);
|
||||
await controller.handleAdminListMutation('whitelist', 'remove', 'npub1allow', removeButton);
|
||||
const removeEvent = accessEvents.find((entry) => entry[0] === 'removeWhitelist');
|
||||
assert.deepEqual(removeEvent, [
|
||||
|
||||
Reference in new issue
Block a user