mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix set labels for highlight test
This commit is contained in:
parent
c0f6ed11d5
commit
c3ef286cc5
1 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ import 'mocha'
|
|||
import { User } from '../../src/entity/user'
|
||||
import { Highlight, Page, PageContext } from '../../src/elastic/types'
|
||||
import { getRepository } from '../../src/entity/utils'
|
||||
import { getPageById } from '../../src/elastic/pages'
|
||||
import { deletePagesByParam, getPageById } from '../../src/elastic/pages'
|
||||
import { addLabelInPage } from '../../src/elastic/labels'
|
||||
import { createPubSubClient } from '../../src/datalayer/pubsub'
|
||||
import {
|
||||
|
|
@ -66,6 +66,7 @@ describe('Labels API', () => {
|
|||
|
||||
after(async () => {
|
||||
// clean up
|
||||
await deletePagesByParam({ userId: user.id }, ctx)
|
||||
await deleteTestUser(username)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue