mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-12 22:13:05 +00:00
test(ops96-audit): reforçar assertion de api.int.spec.ts + docblock sem família e2e removida
This commit is contained in:
parent
71635b8b3b
commit
c48851c427
2 changed files with 3 additions and 2 deletions
|
|
@ -11,7 +11,7 @@
|
|||
*
|
||||
* NEXT_DIST_DIR=.next-e2e pnpm build # once, before the first run
|
||||
* node scripts/measure-e2e-family.mjs tests/e2e/campaignConcepts.e2e.spec.ts \
|
||||
* tests/e2e/campaignPermissionProfile.e2e.spec.ts
|
||||
* tests/e2e/campaignPeopleHttp.e2e.spec.ts
|
||||
*
|
||||
* Args accept full repo-relative spec paths or bare family names
|
||||
* (`campaignPeople` → `tests/e2e/campaignPeople.e2e.spec.ts`).
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ describe('API', () => {
|
|||
const users = await payload.find({
|
||||
collection: 'users',
|
||||
})
|
||||
expect(users).toBeDefined()
|
||||
expect(users.docs).toBeInstanceOf(Array)
|
||||
expect(typeof users.totalDocs).toBe('number')
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue