1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-12 22:50:06 +00:00

chore(lint): fixed linting issues

This commit is contained in:
Yury Shkoda
2022-06-20 19:26:29 +03:00
parent 1596173dda
commit 489947bcae
59 changed files with 243 additions and 236 deletions

View File

@@ -140,7 +140,7 @@ describe('RequestClient', () => {
`Error while executing callback in handleError. ${randomError}`
)
error.response.headers = {} as unknown as { 'x-csrf-header': string }
error.response.headers = ({} as unknown) as { 'x-csrf-header': string }
requestClient['csrfToken'].headerName = ''
await expect(
@@ -262,7 +262,7 @@ const setupSelfSignedServer = async (): Promise<{
httpsServer: https.Server
keys: pem.CertificateCreationResult
}> => {
return await new Promise(async (resolve) => {
return await new Promise(async resolve => {
const keys = await createCertificate()
const httpsServer = https.createServer(