mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix test
This commit is contained in:
parent
51e0dfde23
commit
93bd8c1f7a
1 changed files with 4 additions and 4 deletions
|
|
@ -61,7 +61,7 @@ describe('features resolvers', () => {
|
|||
clock.restore()
|
||||
})
|
||||
|
||||
context('when user is the first 1000 users', () => {
|
||||
context('when user is the first 1500 users', () => {
|
||||
after(async () => {
|
||||
// reset feature
|
||||
await getRepository(Feature).delete({
|
||||
|
|
@ -94,12 +94,12 @@ describe('features resolvers', () => {
|
|||
})
|
||||
})
|
||||
|
||||
context('when user is not the first 1000 users', () => {
|
||||
context('when user is not the first 1500 users', () => {
|
||||
let users: User[]
|
||||
|
||||
before(async () => {
|
||||
// create 1000 opt-in users
|
||||
const usersToSave = Array.from(Array(1000).keys()).map((i) => {
|
||||
// create 1500 opt-in users
|
||||
const usersToSave = Array.from(Array(1500).keys()).map((i) => {
|
||||
return {
|
||||
name: `opt-in-user-${i}`,
|
||||
source: 'GOOGLE',
|
||||
|
|
|
|||
Loading…
Reference in a new issue