Add extra assertion
This commit is contained in:
parent
2dd8b078e5
commit
8e8f4ac02d
|
@ -32,6 +32,7 @@ describe("syncGlobalUsers", () => {
|
||||||
const user1 = await config.createUser({ admin: true })
|
const user1 = await config.createUser({ admin: true })
|
||||||
const user2 = await config.createUser({ admin: false, builder: true })
|
const user2 = await config.createUser({ admin: false, builder: true })
|
||||||
await config.doInContext(config.appId, async () => {
|
await config.doInContext(config.appId, async () => {
|
||||||
|
expect(await rawUserMetadata()).toHaveLength(1)
|
||||||
await syncGlobalUsers()
|
await syncGlobalUsers()
|
||||||
|
|
||||||
const metadata = await rawUserMetadata()
|
const metadata = await rawUserMetadata()
|
||||||
|
|
Loading…
Reference in New Issue