1
0
Fork 0
mirror of synced 2024-10-04 12:03:31 +13:00

Add extra assertion

This commit is contained in:
adrinr 2023-03-30 15:16:45 +01:00
parent 2dd8b078e5
commit 8e8f4ac02d

View file

@ -32,6 +32,7 @@ describe("syncGlobalUsers", () => {
const user1 = await config.createUser({ admin: true })
const user2 = await config.createUser({ admin: false, builder: true })
await config.doInContext(config.appId, async () => {
expect(await rawUserMetadata()).toHaveLength(1)
await syncGlobalUsers()
const metadata = await rawUserMetadata()