Add extra assertion

This commit is contained in:
adrinr 2023-03-30 15:16:45 +01:00
parent 2dd8b078e5
commit 8e8f4ac02d
1 changed files with 1 additions and 0 deletions

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()