feat(console): add support actions (#33492)
This commit is contained in:
parent
633fc6fc03
commit
ad3651d8f1
14 changed files with 255 additions and 156 deletions
|
|
@ -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 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue