feat: complete postgres coverage
This commit is contained in:
parent
95439bc66f
commit
73e61950e2
@ -1828,12 +1828,6 @@ describe('paginate', () => {
|
|||||||
expect(result.links.current).toBe('?page=1&limit=20&sortBy=home.countCat:ASC')
|
expect(result.links.current).toBe('?page=1&limit=20&sortBy=home.countCat:ASC')
|
||||||
})
|
})
|
||||||
|
|
||||||
// TODO: Make all tests pass postgres driver.
|
|
||||||
if (process.env.DB === 'postgres') {
|
|
||||||
// We end postgres coverage here. See TODO above.
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
it('should return result based on or between range filter', async () => {
|
it('should return result based on or between range filter', async () => {
|
||||||
const config: PaginateConfig<CatEntity> = {
|
const config: PaginateConfig<CatEntity> = {
|
||||||
sortableColumns: ['id'],
|
sortableColumns: ['id'],
|
||||||
|
Loading…
Reference in New Issue
Block a user