feat: promisify ses.clearHostResolverCache() (#17229)
This commit is contained in:
parent
9d8619f305
commit
e5e6aa207c
6 changed files with 23 additions and 11 deletions
|
@ -643,7 +643,7 @@ describe('session module', () => {
|
|||
// creation of request context which in turn initializes
|
||||
// the network context, can be removed with network
|
||||
// service enabled.
|
||||
customSession.clearHostResolverCache(() => done())
|
||||
customSession.clearHostResolverCache().then(() => done())
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue