From 5304da488832dc5bb36ae8b4f577b88460a99d99 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 15 Jun 2023 22:34:23 +0530 Subject: [PATCH] fix: init missing var Signed-off-by: Pranav C --- packages/nocodb/tests/unit/rest/tests/viewRow.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/nocodb/tests/unit/rest/tests/viewRow.test.ts b/packages/nocodb/tests/unit/rest/tests/viewRow.test.ts index 20ec1feb3d..191426403a 100644 --- a/packages/nocodb/tests/unit/rest/tests/viewRow.test.ts +++ b/packages/nocodb/tests/unit/rest/tests/viewRow.test.ts @@ -1,5 +1,4 @@ import 'mocha'; -import { isString } from 'util'; import request from 'supertest'; import { UITypes, ViewTypes } from 'nocodb-sdk'; import { expect } from 'chai'; @@ -20,7 +19,6 @@ import { getOneRow, getRow, } from '../../factory/row'; -import { isPg } from '../../init/db'; import type { ColumnType } from 'nocodb-sdk'; import type View from '../../../../src/models/View'; import type Model from '../../../../src/models/Model'; @@ -1370,7 +1368,7 @@ function viewRowTests() { rowId: row['Id'], }); - await request(context.app) + const response = await request(context.app) .delete( `/api/v1/db/data/noco/${project.id}/${table.id}/views/${view.id}/${row['Id']}`, )