address linter complaints

This commit is contained in:
tiagosiebler
2023-02-17 14:01:07 +00:00
parent 8e54ecbaf5
commit dd6ef2fea5
37 changed files with 154 additions and 106 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { API_ERROR_CODE } from '../src';
const SUCCESS_MSG_REGEX = /OK|SUCCESS|success|success\.|Request accepted|/gim;
@@ -19,7 +20,7 @@ export function successResponseListV3() {
};
}
export function successResponseObject(successMsg: string | null = 'OK') {
export function successResponseObject() {
return {
result: expect.any(Object),
ret_code: API_ERROR_CODE.SUCCESS,