feat(console): add support actions (#33492)

This commit is contained in:
Victor Navarro 2026-06-24 12:06:51 +02:00 committed by GitHub
commit ad3651d8f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 255 additions and 156 deletions

View file

@ -14,6 +14,14 @@ describe.concurrent("core.share", () => {
await Share.remove({ id: share.id, secret: share.secret })
})
test("should remove a share as admin", async () => {
const share = await Share.create({ sessionID: Identifier.descending() })
await Share.removeAdmin({ id: share.id })
expect(await Share.get(share.id)).toBeUndefined()
})
test("should sync data to a share", async () => {
const sessionID = Identifier.descending()
const share = await Share.create({ sessionID })