This commit is contained in:
Tatyana Kostromskaya
2023-08-29 11:19:06 +00:00
parent e3b0601228
commit b552972717
2 changed files with 2 additions and 12 deletions

View File

@@ -59,7 +59,6 @@ describe('auth', () => {
const http: httpm.HttpClient = new httpm.HttpClient('http-client-tests', [
ph
])
try {
const res: httpm.HttpClientResponse = await http.get(
'http://postman-echo.com/get'
)
@@ -69,9 +68,5 @@ describe('auth', () => {
const auth: string = obj.headers.authorization
expect(auth).toBe(`Bearer ${token}`)
expect(obj.url).toBe('http://postman-echo.com/get')
}
finally {
http.dispose()
}
})
})