revert
This commit is contained in:
1 parent
9865bd2c4c
commit
72c9b82e75
1 file changed
-5
@@ -59,7 +59,6 @@ describe('auth', () => {
|
|||||||
const http: httpm.HttpClient = new httpm.HttpClient('http-client-tests', [
|
const http: httpm.HttpClient = new httpm.HttpClient('http-client-tests', [
|
||||||
ph
|
ph
|
||||||
])
|
])
|
||||||
try {
|
|
||||||
const res: httpm.HttpClientResponse = await http.get(
|
const res: httpm.HttpClientResponse = await http.get(
|
||||||
'http://postman-echo.com/get'
|
'http://postman-echo.com/get'
|
||||||
)
|
)
|
||||||
@@ -69,9 +68,5 @@ describe('auth', () => {
|
|||||||
const auth: string = obj.headers.authorization
|
const auth: string = obj.headers.authorization
|
||||||
expect(auth).toBe(`Bearer ${token}`)
|
expect(auth).toBe(`Bearer ${token}`)
|
||||||
expect(obj.url).toBe('http://postman-echo.com/get')
|
expect(obj.url).toBe('http://postman-echo.com/get')
|
||||||
}
|
|
||||||
finally {
|
|
||||||
http.dispose()
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user