feat: promisify ses.clearHostResolverCache() (#17229)

This commit is contained in:
Shelley Vohr 2019-03-08 10:26:17 -08:00 committed by GitHub
parent 9d8619f305
commit e5e6aa207c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 11 deletions

View file

@ -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(() => {