mock-symbols.js 769 B

1234567891011121314151617181920212223
  1. 'use strict'
  2. module.exports = {
  3. kAgent: Symbol('agent'),
  4. kOptions: Symbol('options'),
  5. kFactory: Symbol('factory'),
  6. kDispatches: Symbol('dispatches'),
  7. kDispatchKey: Symbol('dispatch key'),
  8. kDefaultHeaders: Symbol('default headers'),
  9. kDefaultTrailers: Symbol('default trailers'),
  10. kContentLength: Symbol('content length'),
  11. kMockAgent: Symbol('mock agent'),
  12. kMockAgentSet: Symbol('mock agent set'),
  13. kMockAgentGet: Symbol('mock agent get'),
  14. kMockDispatch: Symbol('mock dispatch'),
  15. kClose: Symbol('close'),
  16. kOriginalClose: Symbol('original agent close'),
  17. kOrigin: Symbol('origin'),
  18. kIsMockActive: Symbol('is mock active'),
  19. kNetConnect: Symbol('net connect'),
  20. kGetNetConnect: Symbol('get net connect'),
  21. kConnected: Symbol('connected')
  22. }