Skip to content

Commit e309e7e

Browse files
committed
api tests refactoring
1 parent 0ca3ebd commit e309e7e

File tree

148 files changed

+1863
-1466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+1863
-1466
lines changed

tests/e2e/helpers/api/api-common.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as request from 'supertest';
1+
import request from 'supertest';
22
import { Common } from '../common';
33
import { Methods } from '../constants';
44

@@ -18,7 +18,7 @@ export async function sendRequest(
1818
body?: Record<string, unknown>
1919
): Promise<any> {
2020
const windowId = Common.getWindowId();
21-
let requestEndpoint;
21+
let requestEndpoint: any;
2222

2323
if (method === Methods.post) {
2424
(requestEndpoint = request(endpoint)

0 commit comments

Comments
 (0)