SYMBOL INDEX (585 symbols across 120 files) FILE: examples/typescript-jest-node-fetch/src/github-api.ts function checkErrorAndReturnJson (line 14) | function checkErrorAndReturnJson(response: Response) { FILE: examples/typescript-jest-node-fetch/src/utils/auto-setup-polly.ts function autoSetupPolly (line 26) | function autoSetupPolly() { FILE: packages/@pollyjs/adapter-fetch/src/index.js constant IS_STUBBED (line 9) | const IS_STUBBED = Symbol(); constant ABORT_HANDLER (line 10) | const ABORT_HANDLER = Symbol(); constant REQUEST_ARGUMENTS (line 11) | const REQUEST_ARGUMENTS = Symbol(); class FetchAdapter (line 13) | class FetchAdapter extends Adapter { method id (line 14) | static get id() { method defaultOptions (line 18) | get defaultOptions() { method onConnect (line 24) | onConnect() { method onDisconnect (line 118) | onDisconnect() { method onRequest (line 128) | onRequest(pollyRequest) { method onFetchResponse (line 143) | async onFetchResponse(pollyRequest) { method onRespond (line 185) | onRespond(pollyRequest, error) { FILE: packages/@pollyjs/adapter-fetch/src/utils/serializer-headers.js function serializeHeaders (line 5) | function serializeHeaders(headers) { FILE: packages/@pollyjs/adapter-fetch/tests/integration/adapter-test.js class MockRequest (line 13) | class MockRequest {} class MockResponse (line 14) | class MockResponse {} class MockHeaders (line 15) | class MockHeaders {} function testRequestOptions (line 179) | function testRequestOptions(createRequest, options) { method fetch (line 310) | fetch() {} method fetch (line 325) | fetch() {} method fetch (line 340) | fetch() {} FILE: packages/@pollyjs/adapter-fetch/types.d.ts class FetchAdapter (line 3) | class FetchAdapter extends Adapter<{ FILE: packages/@pollyjs/adapter-node-http/src/index.js constant IS_STUBBED (line 19) | const IS_STUBBED = Symbol(); constant ABORT_HANDLER (line 20) | const ABORT_HANDLER = Symbol(); constant REQUEST_ARGUMENTS (line 21) | const REQUEST_ARGUMENTS = new WeakMap(); class HttpAdapter (line 27) | class HttpAdapter extends Adapter { method id (line 28) | static get id() { method onConnect (line 32) | onConnect() { method onDisconnect (line 49) | onDisconnect() { method setupNock (line 56) | setupNock() { method patchOverriddenMethods (line 93) | patchOverriddenMethods() { method unpatchOverriddenMethods (line 155) | unpatchOverriddenMethods() { method onRequest (line 167) | onRequest(pollyRequest) { method onFetchResponse (line 184) | async onFetchResponse(pollyRequest) { method onRespond (line 227) | async onRespond(pollyRequest, error) { method getBodyFromChunks (line 280) | getBodyFromChunks(chunks, headers) { method getChunksFromBody (line 315) | getChunksFromBody(body, headers, encoding) { FILE: packages/@pollyjs/adapter-node-http/src/utils/get-url-from-options.js function getUrlFromOptions (line 10) | function getUrlFromOptions(options = {}) { FILE: packages/@pollyjs/adapter-node-http/src/utils/merge-chunks.js function mergeChunks (line 9) | function mergeChunks(chunks) { FILE: packages/@pollyjs/adapter-node-http/src/utils/url-to-options.js function urlToOptions (line 8) | function urlToOptions(url) { FILE: packages/@pollyjs/adapter-node-http/tests/integration/adapter-test.js function commonTests (line 107) | function commonTests(transport) { FILE: packages/@pollyjs/adapter-node-http/tests/jest/integration/xhr-test.js function request (line 5) | function request(url) { FILE: packages/@pollyjs/adapter-node-http/tests/utils/get-buffer-from-stream.js function getBufferFromStream (line 1) | function getBufferFromStream(stream) { FILE: packages/@pollyjs/adapter-node-http/tests/utils/get-response-from-request.js function getResponseFromRequest (line 1) | function getResponseFromRequest(req, data) { FILE: packages/@pollyjs/adapter-node-http/tests/utils/native-request.js function nativeRequest (line 7) | async function nativeRequest(transport, url, options) { FILE: packages/@pollyjs/adapter-node-http/types.d.ts class NodeHttpAdapter (line 3) | class NodeHttpAdapter extends Adapter {} FILE: packages/@pollyjs/adapter-puppeteer/src/index.js constant LISTENERS (line 4) | const LISTENERS = Symbol(); constant PASSTHROUGH_PROMISES (line 5) | const PASSTHROUGH_PROMISES = Symbol(); constant PASSTHROUGH_REQ_ID_QP (line 6) | const PASSTHROUGH_REQ_ID_QP = 'pollyjs_passthrough_req_id'; class PuppeteerAdapter (line 8) | class PuppeteerAdapter extends Adapter { method id (line 9) | static get id() { method defaultOptions (line 13) | get defaultOptions() { method constructor (line 20) | constructor() { method onConnect (line 29) | onConnect() { method onDisconnect (line 42) | onDisconnect() { method attachToPageEvents (line 48) | attachToPageEvents(page) { method onRequest (line 140) | onRequest(pollyRequest) { method onFetchResponse (line 157) | async onFetchResponse(pollyRequest) { method onRespond (line 196) | async onRespond(pollyRequest, error) { method _callListenersWith (line 214) | _callListenersWith(methodName, target) { FILE: packages/@pollyjs/adapter-puppeteer/tests/helpers/fetch.js function fetch (line 3) | async function fetch() { FILE: packages/@pollyjs/adapter-puppeteer/tests/integration/adapter-test.js constant HOST (line 11) | const HOST = 'http://localhost:4000'; FILE: packages/@pollyjs/adapter-puppeteer/types.d.ts class PuppeteerAdapter (line 3) | class PuppeteerAdapter extends Adapter<{ FILE: packages/@pollyjs/adapter-xhr/src/index.js constant SEND (line 10) | const SEND = Symbol(); constant ABORT_HANDLER (line 11) | const ABORT_HANDLER = Symbol(); constant BINARY_RESPONSE_TYPES (line 14) | const BINARY_RESPONSE_TYPES = ['arraybuffer', 'blob']; class XHRAdapter (line 16) | class XHRAdapter extends Adapter { method id (line 17) | static get id() { method defaultOptions (line 21) | get defaultOptions() { method onConnect (line 27) | onConnect() { method onDisconnect (line 57) | onDisconnect() { method onRequest (line 64) | onRequest(pollyRequest) { method onFetchResponse (line 75) | async onFetchResponse(pollyRequest) { method onRespond (line 140) | onRespond(pollyRequest, error) { FILE: packages/@pollyjs/adapter-xhr/src/utils/resolve-xhr.js function resolveXhr (line 1) | function resolveXhr(xhr, body) { FILE: packages/@pollyjs/adapter-xhr/src/utils/serialize-response-headers.js function serializeResponseHeaders (line 6) | function serializeResponseHeaders(responseHeaders) { FILE: packages/@pollyjs/adapter-xhr/tests/integration/adapter-test.js class MockXMLHttpRequest (line 12) | class MockXMLHttpRequest {} FILE: packages/@pollyjs/adapter-xhr/tests/utils/xhr-request.js function request (line 3) | function request(url, obj = {}) { FILE: packages/@pollyjs/adapter-xhr/types.d.ts class XHRAdapter (line 3) | class XHRAdapter extends Adapter<{ FILE: packages/@pollyjs/adapter/src/index.js constant REQUEST_HANDLER (line 14) | const REQUEST_HANDLER = Symbol(); class Adapter (line 16) | class Adapter { method constructor (line 17) | constructor(polly) { method type (line 22) | static get type() { method id (line 27) | static get id() { method defaultOptions (line 31) | get defaultOptions() { method options (line 35) | get options() { method persister (line 42) | get persister() { method connect (line 46) | connect() { method onConnect (line 57) | onConnect() { method disconnect (line 61) | disconnect() { method onDisconnect (line 72) | onDisconnect() { method timeout (line 76) | timeout(pollyRequest, { time }) { method handleRequest (line 84) | async handleRequest(request) { method [REQUEST_HANDLER] (line 106) | async [REQUEST_HANDLER](pollyRequest) { method passthrough (line 149) | async passthrough(pollyRequest) { method onPassthrough (line 158) | async onPassthrough(pollyRequest) { method intercept (line 164) | async intercept(pollyRequest, interceptor) { method onIntercept (line 177) | async onIntercept(pollyRequest, pollyResponse) { method record (line 181) | async record(pollyRequest) { method onRecord (line 197) | async onRecord(pollyRequest) { method replay (line 205) | async replay(pollyRequest) { method onReplay (line 272) | async onReplay(pollyRequest, normalizedResponse) { method assert (line 276) | assert(message, ...args) { method onRequest (line 286) | onRequest() {} method onIdentifyRequest (line 291) | async onIdentifyRequest(pollyRequest) { method onRequestFinished (line 303) | async onRequestFinished(pollyRequest) { method onRequestFailed (line 312) | async onRequestFailed(pollyRequest, error) { method onRespond (line 339) | async onRespond(/* pollyRequest, error */) {} method onFetchResponse (line 345) | async onFetchResponse(/* pollyRequest */) { FILE: packages/@pollyjs/adapter/src/utils/dehumanize-time.js constant ALPHA_NUMERIC_DOT (line 1) | const ALPHA_NUMERIC_DOT = /([0-9.]+)([a-zA-Z]+)/g; constant TIMES (line 2) | const TIMES = { function dehumanizeTime (line 36) | function dehumanizeTime(input) { FILE: packages/@pollyjs/adapter/src/utils/is-expired.js function isExpired (line 3) | function isExpired(recordedOn, expiresIn) { FILE: packages/@pollyjs/adapter/src/utils/normalize-recorded-response.js function normalizeRecordedResponse (line 3) | function normalizeRecordedResponse(response) { function normalizeHeaders (line 15) | function normalizeHeaders(headers) { FILE: packages/@pollyjs/adapter/src/utils/stringify-request.js function stringifyRequest (line 1) | function stringifyRequest(req, ...args) { FILE: packages/@pollyjs/adapter/types.d.ts class Adapter (line 3) | class Adapter< FILE: packages/@pollyjs/core/src/-private/container.js function keyFor (line 3) | function keyFor(Factory) { class Container (line 7) | class Container { method constructor (line 8) | constructor() { method register (line 17) | register(Factory) { method unregister (line 45) | unregister(keyOrFactory) { method lookup (line 59) | lookup(key) { method has (line 70) | has(keyOrFactory) { FILE: packages/@pollyjs/core/src/-private/event-emitter.js constant EVENTS (line 9) | const EVENTS = Symbol(); constant EVENT_NAMES (line 10) | const EVENT_NAMES = Symbol(); function assertEventName (line 12) | function assertEventName(eventName, eventNames) { function assertListener (line 26) | function assertListener(listener) { class EventEmitter (line 33) | class EventEmitter { method constructor (line 39) | constructor(options = {}) { method eventNames (line 57) | eventNames() { method on (line 78) | on(eventName, listener, options = {}) { method once (line 129) | once(eventName, listener, options = {}) { method off (line 144) | off(eventName, listener) { method listeners (line 173) | listeners(eventName) { method hasListeners (line 186) | hasListeners(eventName) { method emit (line 207) | async emit(eventName, ...args) { method emitParallel (line 236) | async emitParallel(eventName, ...args) { method emitSync (line 265) | emitSync(eventName, ...args) { FILE: packages/@pollyjs/core/src/-private/event.js constant STOP_PROPAGATION (line 3) | const STOP_PROPAGATION = Symbol(); class Event (line 5) | class Event { method constructor (line 6) | constructor(type, props) { method stopPropagation (line 19) | stopPropagation() { method shouldStopPropagating (line 23) | get shouldStopPropagating() { FILE: packages/@pollyjs/core/src/-private/http-base.js class HTTPBase (line 8) | class HTTPBase { method constructor (line 9) | constructor() { method getHeader (line 13) | getHeader(name) { method setHeader (line 17) | setHeader(name, value) { method setHeaders (line 23) | setHeaders(headers = {}) { method removeHeader (line 31) | removeHeader(name) { method removeHeaders (line 37) | removeHeaders(headers = []) { method hasHeader (line 45) | hasHeader(name) { method type (line 49) | type(type) { method send (line 53) | send(data) { method json (line 90) | json(obj) { method jsonBody (line 98) | jsonBody() { method end (line 102) | end() { FILE: packages/@pollyjs/core/src/-private/interceptor.js constant ABORT (line 3) | const ABORT = Symbol(); constant PASSTHROUGH (line 4) | const PASSTHROUGH = Symbol(); function setDefaults (line 6) | function setDefaults(interceptor) { class Interceptor (line 11) | class Interceptor extends Event { method constructor (line 12) | constructor() { method abort (line 17) | abort() { method passthrough (line 22) | passthrough() { method shouldAbort (line 27) | get shouldAbort() { method shouldPassthrough (line 31) | get shouldPassthrough() { method shouldIntercept (line 35) | get shouldIntercept() { FILE: packages/@pollyjs/core/src/-private/logger.js constant FORMATTED_ACTIONS (line 4) | const FORMATTED_ACTIONS = { class Logger (line 11) | class Logger { method constructor (line 12) | constructor(polly) { method connect (line 19) | connect() { method disconnect (line 27) | disconnect() { method logRequest (line 32) | logRequest(request) { method logRequestResponse (line 42) | logRequestResponse(request, response) { method logRequestError (line 54) | logRequestError(request, error) { FILE: packages/@pollyjs/core/src/-private/request.js constant ROUTE (line 24) | const ROUTE = Symbol(); constant POLLY (line 25) | const POLLY = Symbol(); constant PARSED_URL (line 26) | const PARSED_URL = Symbol(); constant EVENT_EMITTER (line 27) | const EVENT_EMITTER = Symbol(); constant SUPPORTED_EVENTS (line 29) | const SUPPORTED_EVENTS = ['identify']; class PollyRequest (line 31) | class PollyRequest extends HTTPBase { method constructor (line 32) | constructor(polly, request) { method url (line 80) | get url() { method url (line 86) | set url(value) { method absoluteUrl (line 92) | get absoluteUrl() { method protocol (line 98) | get protocol() { method hostname (line 102) | get hostname() { method port (line 106) | get port() { method origin (line 110) | get origin() { method pathname (line 114) | get pathname() { method query (line 118) | get query() { method query (line 122) | set query(value) { method hash (line 126) | get hash() { method hash (line 130) | set hash(value) { method shouldPassthrough (line 134) | get shouldPassthrough() { method shouldIntercept (line 138) | get shouldIntercept() { method log (line 142) | get log() { method on (line 156) | on(eventName, listener) { method once (line 162) | once(eventName, listener) { method off (line 168) | off(eventName, listener) { method init (line 174) | async init() { method respond (line 189) | async respond(response) { method abort (line 233) | abort() { method overrideRecordingName (line 237) | overrideRecordingName(recordingName) { method configure (line 243) | configure(config) { method _intercept (line 248) | _intercept() { method _emit (line 252) | _emit(eventName, ...args) { method _identify (line 256) | async _identify() { FILE: packages/@pollyjs/core/src/-private/response.js constant DEFAULT_STATUS_CODE (line 5) | const DEFAULT_STATUS_CODE = 200; class PollyResponse (line 7) | class PollyResponse extends HTTPBase { method constructor (line 8) | constructor(statusCode, headers, body, encoding) { method ok (line 16) | get ok() { method statusText (line 20) | get statusText() { method status (line 27) | status(statusCode) { method sendStatus (line 40) | sendStatus(status) { FILE: packages/@pollyjs/core/src/polly.js constant RECORDING_NAME (line 15) | const RECORDING_NAME = Symbol(); constant RECORDING_ID (line 16) | const RECORDING_ID = Symbol(); constant PAUSED_ADAPTERS (line 17) | const PAUSED_ADAPTERS = Symbol(); constant FACTORY_REGISTRATION (line 19) | const FACTORY_REGISTRATION = new WeakMap(); constant EVENT_EMITTER (line 20) | const EVENT_EMITTER = new EventEmitter({ class Polly (line 28) | class Polly { method constructor (line 29) | constructor(recordingName, config) { method VERSION (line 57) | static get VERSION() { method recordingName (line 65) | get recordingName() { method recordingName (line 69) | set recordingName(name) { method recordingId (line 81) | get recordingId() { method mode (line 85) | get mode() { method mode (line 89) | set mode(mode) { method on (line 102) | static on(eventName, listener) { method once (line 108) | static once(eventName, listener) { method off (line 114) | static off(eventName, listener) { method register (line 120) | static register(Factory) { method unregister (line 132) | static unregister(Factory) { method configure (line 145) | configure(config = {}) { method record (line 200) | record() { method replay (line 208) | replay() { method passthrough (line 216) | passthrough() { method pause (line 224) | pause() { method play (line 233) | play() { method stop (line 244) | async stop() { method flush (line 264) | async flush() { method connectTo (line 279) | connectTo(idOrAdapter) { method disconnectFrom (line 306) | disconnectFrom(idOrAdapter) { method disconnect (line 324) | disconnect() { method registerRequest (line 336) | registerRequest(request = {}) { FILE: packages/@pollyjs/core/src/server/handler.js class Handler (line 11) | class Handler extends Map { method constructor (line 12) | constructor() { method on (line 32) | on(eventName, listener, options = {}) { method once (line 41) | once(eventName, listener) { method off (line 47) | off(eventName, listener) { method passthrough (line 53) | passthrough(value = true) { method intercept (line 63) | intercept(fn, options = {}) { method recordingName (line 84) | recordingName(recordingName) { method configure (line 94) | configure(config) { method filter (line 101) | filter(fn) { method times (line 112) | times(n) { FILE: packages/@pollyjs/core/src/server/index.js constant HOST (line 9) | const HOST = Symbol(); constant NAMESPACES (line 10) | const NAMESPACES = Symbol(); constant REGISTRY (line 11) | const REGISTRY = Symbol(); constant MIDDLEWARE (line 12) | const MIDDLEWARE = Symbol(); constant HANDLERS (line 13) | const HANDLERS = Symbol(); constant CHARS (line 15) | const CHARS = { function parseUrl (line 23) | function parseUrl(url) { class Server (line 35) | class Server { method constructor (line 36) | constructor() { method host (line 43) | host(path, callback) { method namespace (line 53) | namespace(path, callback) { method timeout (line 61) | timeout() { method get (line 65) | get() { method put (line 69) | put() { method post (line 73) | post() { method delete (line 77) | delete() { method patch (line 81) | patch() { method merge (line 85) | merge() { method head (line 89) | head() { method options (line 93) | options() { method any (line 97) | any() { method lookup (line 101) | lookup(method, url) { method _lookupMiddleware (line 105) | _lookupMiddleware(url) { method _register (line 111) | _register(method, routes) { method _registerMiddleware (line 131) | _registerMiddleware(routes) { method _recognize (line 163) | _recognize(method, url) { method _buildUrl (line 170) | _buildUrl(path) { method _nameForPath (line 180) | _nameForPath(path = '') { method _registryForHost (line 203) | _registryForHost(host) { FILE: packages/@pollyjs/core/src/server/middleware.js constant GLOBAL (line 5) | const GLOBAL = '__GLOBAL__'; class Middleware (line 7) | class Middleware { method constructor (line 8) | constructor({ host, paths, global, handler }) { method match (line 20) | match(host, path) { FILE: packages/@pollyjs/core/src/server/route.js constant HANDLERS (line 3) | const HANDLERS = Symbol(); function requestWithParams (line 5) | function requestWithParams(req, { params }) { class Route (line 25) | class Route { method constructor (line 31) | constructor(recognizeResults, middleware) { method shouldPassthrough (line 48) | shouldPassthrough() { method shouldIntercept (line 52) | shouldIntercept() { method recordingName (line 56) | recordingName() { method config (line 60) | config() { method applyFiltersWithArgs (line 66) | applyFiltersWithArgs(req, ...args) { method intercept (line 80) | async intercept(req, res, interceptor) { method emit (line 102) | async emit(eventName, req, ...args) { method _orderedHandlers (line 116) | _orderedHandlers() { method _valueFor (line 124) | _valueFor(key) { FILE: packages/@pollyjs/core/src/test-helpers/lib.js function beforeEach (line 7) | function beforeEach(context, recordingName, defaults) { function afterEach (line 16) | async function afterEach(context, framework) { FILE: packages/@pollyjs/core/src/test-helpers/mocha.js function generateRecordingName (line 3) | function generateRecordingName(context) { function setupMocha (line 16) | function setupMocha(defaults = {}, ctx = global) { FILE: packages/@pollyjs/core/src/test-helpers/qunit.js function generateRecordingName (line 3) | function generateRecordingName(assert) { function setupQunit (line 7) | function setupQunit(hooks, defaults = {}) { FILE: packages/@pollyjs/core/src/utils/cancel-fn-after-n-times.js function cancelFnAfterNTimes (line 11) | function cancelFnAfterNTimes(fn, nTimes, cancel) { FILE: packages/@pollyjs/core/src/utils/deferred-promise.js function defer (line 4) | function defer() { FILE: packages/@pollyjs/core/src/utils/guid-for-recording.js function sanitize (line 4) | function sanitize(str) { function guidFor (line 9) | function guidFor(str) { function guidForRecording (line 19) | function guidForRecording(recording) { FILE: packages/@pollyjs/core/src/utils/http-headers.js constant HANDLER (line 5) | const HANDLER = { method get (line 6) | get(obj, prop) { method set (line 11) | set(obj, prop, value) { method deleteProperty (line 25) | deleteProperty(obj, prop) { function HTTPHeaders (line 36) | function HTTPHeaders(headers) { FILE: packages/@pollyjs/core/src/utils/merge-configs.js function customizer (line 3) | function customizer(objValue, srcValue, key) { function mergeConfigs (line 11) | function mergeConfigs(...configs) { FILE: packages/@pollyjs/core/src/utils/normalize-request.js function isFunction (line 11) | function isFunction(fn) { function method (line 15) | function method(method, config, req) { function url (line 19) | function url(url, config, req) { function headers (line 43) | function headers(headers, config, req) { function body (line 57) | function body(body, config, req) { FILE: packages/@pollyjs/core/src/utils/parse-url.js function parseUrl (line 13) | function parseUrl(url, ...args) { FILE: packages/@pollyjs/core/src/utils/remove-host-from-url.js function removeHostFromUrl (line 6) | function removeHostFromUrl(url) { FILE: packages/@pollyjs/core/src/utils/timing.js method fixed (line 4) | fixed(ms) { method relative (line 8) | relative(ratio) { FILE: packages/@pollyjs/core/src/utils/validators.js function validateRecordingName (line 4) | function validateRecordingName(name) { function validateRequestConfig (line 16) | function validateRequestConfig(config) { function validateTimesOption (line 37) | function validateTimesOption(times) { FILE: packages/@pollyjs/core/tests/unit/-private/container-test.js class Factory (line 7) | class Factory { method id (line 8) | static get id() { method type (line 12) | static get type() { class NoId (line 34) | class NoId extends Factory { method id (line 35) | static get id() { class NoType (line 40) | class NoType extends Factory { method type (line 41) | static get type() { class ExtendedFactory (line 89) | class ExtendedFactory extends Factory { method id (line 90) | static get id() { FILE: packages/@pollyjs/core/tests/unit/-private/event-emitter-test.js function assertEventName (line 7) | function assertEventName(methodName) { function assertListener (line 18) | function assertListener(methodName) { FILE: packages/@pollyjs/core/tests/unit/-private/event-test.js constant EVENT_TYPE (line 5) | const EVENT_TYPE = 'foo'; FILE: packages/@pollyjs/core/tests/unit/polly-test.js class MockAdapter (line 86) | class MockAdapter extends Adapter { method id (line 87) | static get id() { method onConnect (line 91) | onConnect() { method onDisconnect (line 95) | onDisconnect() { method id (line 223) | static get id() { method onConnect (line 227) | onConnect() { method onDisconnect (line 230) | onDisconnect() {} method id (line 243) | static get id() { method onConnect (line 247) | onConnect() { method onDisconnect (line 250) | onDisconnect() { method id (line 355) | static get id() { method onConnect (line 359) | onConnect() { method onDisconnect (line 363) | onDisconnect() { method id (line 384) | static get id() { method onConnect (line 388) | onConnect() { method onDisconnect (line 392) | onDisconnect() { method id (line 456) | static get id() { class MockPersister (line 111) | class MockPersister extends Persister { method id (line 112) | static get id() { method constructor (line 116) | constructor() { method persist (line 121) | persist() { class MockAdapterA (line 194) | class MockAdapterA extends Adapter { method id (line 195) | static get id() { method onConnect (line 199) | onConnect() {} method onDisconnect (line 200) | onDisconnect() {} method id (line 269) | static get id() { method onConnect (line 273) | onConnect() {} method onDisconnect (line 274) | onDisconnect() {} method id (line 414) | static get id() { method onConnect (line 418) | onConnect() {} method onDisconnect (line 420) | onDisconnect() { class MockAdapterB (line 203) | class MockAdapterB extends MockAdapterA { method id (line 204) | static get id() { method id (line 278) | static get id() { method id (line 426) | static get id() { class MockAdapter (line 222) | class MockAdapter extends Adapter { method id (line 87) | static get id() { method onConnect (line 91) | onConnect() { method onDisconnect (line 95) | onDisconnect() { method id (line 223) | static get id() { method onConnect (line 227) | onConnect() { method onDisconnect (line 230) | onDisconnect() {} method id (line 243) | static get id() { method onConnect (line 247) | onConnect() { method onDisconnect (line 250) | onDisconnect() { method id (line 355) | static get id() { method onConnect (line 359) | onConnect() { method onDisconnect (line 363) | onDisconnect() { method id (line 384) | static get id() { method onConnect (line 388) | onConnect() { method onDisconnect (line 392) | onDisconnect() { method id (line 456) | static get id() { class MockAdapter (line 242) | class MockAdapter extends Adapter { method id (line 87) | static get id() { method onConnect (line 91) | onConnect() { method onDisconnect (line 95) | onDisconnect() { method id (line 223) | static get id() { method onConnect (line 227) | onConnect() { method onDisconnect (line 230) | onDisconnect() {} method id (line 243) | static get id() { method onConnect (line 247) | onConnect() { method onDisconnect (line 250) | onDisconnect() { method id (line 355) | static get id() { method onConnect (line 359) | onConnect() { method onDisconnect (line 363) | onDisconnect() { method id (line 384) | static get id() { method onConnect (line 388) | onConnect() { method onDisconnect (line 392) | onDisconnect() { method id (line 456) | static get id() { class MockAdapterA (line 268) | class MockAdapterA extends Adapter { method id (line 195) | static get id() { method onConnect (line 199) | onConnect() {} method onDisconnect (line 200) | onDisconnect() {} method id (line 269) | static get id() { method onConnect (line 273) | onConnect() {} method onDisconnect (line 274) | onDisconnect() {} method id (line 414) | static get id() { method onConnect (line 418) | onConnect() {} method onDisconnect (line 420) | onDisconnect() { class MockAdapterB (line 277) | class MockAdapterB extends MockAdapterA { method id (line 204) | static get id() { method id (line 278) | static get id() { method id (line 426) | static get id() { class MockAdapter (line 354) | class MockAdapter extends Adapter { method id (line 87) | static get id() { method onConnect (line 91) | onConnect() { method onDisconnect (line 95) | onDisconnect() { method id (line 223) | static get id() { method onConnect (line 227) | onConnect() { method onDisconnect (line 230) | onDisconnect() {} method id (line 243) | static get id() { method onConnect (line 247) | onConnect() { method onDisconnect (line 250) | onDisconnect() { method id (line 355) | static get id() { method onConnect (line 359) | onConnect() { method onDisconnect (line 363) | onDisconnect() { method id (line 384) | static get id() { method onConnect (line 388) | onConnect() { method onDisconnect (line 392) | onDisconnect() { method id (line 456) | static get id() { class MockAdapter (line 383) | class MockAdapter extends Adapter { method id (line 87) | static get id() { method onConnect (line 91) | onConnect() { method onDisconnect (line 95) | onDisconnect() { method id (line 223) | static get id() { method onConnect (line 227) | onConnect() { method onDisconnect (line 230) | onDisconnect() {} method id (line 243) | static get id() { method onConnect (line 247) | onConnect() { method onDisconnect (line 250) | onDisconnect() { method id (line 355) | static get id() { method onConnect (line 359) | onConnect() { method onDisconnect (line 363) | onDisconnect() { method id (line 384) | static get id() { method onConnect (line 388) | onConnect() { method onDisconnect (line 392) | onDisconnect() { method id (line 456) | static get id() { class MockAdapterA (line 413) | class MockAdapterA extends Adapter { method id (line 195) | static get id() { method onConnect (line 199) | onConnect() {} method onDisconnect (line 200) | onDisconnect() {} method id (line 269) | static get id() { method onConnect (line 273) | onConnect() {} method onDisconnect (line 274) | onDisconnect() {} method id (line 414) | static get id() { method onConnect (line 418) | onConnect() {} method onDisconnect (line 420) | onDisconnect() { class MockAdapterB (line 425) | class MockAdapterB extends MockAdapterA { method id (line 204) | static get id() { method id (line 278) | static get id() { method id (line 426) | static get id() { class MockAdapter (line 455) | class MockAdapter extends Adapter { method id (line 87) | static get id() { method onConnect (line 91) | onConnect() { method onDisconnect (line 95) | onDisconnect() { method id (line 223) | static get id() { method onConnect (line 227) | onConnect() { method onDisconnect (line 230) | onDisconnect() {} method id (line 243) | static get id() { method onConnect (line 247) | onConnect() { method onDisconnect (line 250) | onDisconnect() { method id (line 355) | static get id() { method onConnect (line 359) | onConnect() { method onDisconnect (line 363) | onDisconnect() { method id (line 384) | static get id() { method onConnect (line 388) | onConnect() { method onDisconnect (line 392) | onDisconnect() { method id (line 456) | static get id() { FILE: packages/@pollyjs/core/tests/unit/server/server-test.js function request (line 7) | function request(method, path) { function addHandlers (line 118) | function addHandlers(url) { FILE: packages/@pollyjs/core/tests/unit/test-helpers/mocha-test.js class Sandbox (line 3) | class Sandbox { method constructor (line 4) | constructor(context) { method beforeEach (line 10) | beforeEach(fn) { method afterEach (line 15) | afterEach(fn) { FILE: packages/@pollyjs/core/tests/unit/utils/timing-test.js function fixedTest (line 3) | function fixedTest(ms) { function relativeTest (line 22) | function relativeTest(ratio) { FILE: packages/@pollyjs/core/types.d.ts type Newable (line 5) | type Newable = { new (...args: any[]): T }; type MODE (line 7) | type MODE = 'record' | 'replay' | 'passthrough' | 'stopped'; type ACTION (line 8) | type ACTION = 'record' | 'replay' | 'intercept' | 'passthrough'; type EXPIRY_STRATEGY (line 9) | type EXPIRY_STRATEGY = 'record' | 'warn' | 'error'; type MatchBy (line 16) | type MatchBy = (input: T, req: Request) => R; type Headers (line 17) | type Headers = Record; type PollyConfig (line 18) | interface PollyConfig { type HTTPBase (line 87) | interface HTTPBase { type RequestEvent (line 103) | type RequestEvent = 'identify'; type RequestArguments (line 104) | type RequestArguments = { [key: string]: any }; type Request (line 106) | interface Request type Response (line 137) | interface Response extends HTTPBase { type RequestRouteEvent (line 148) | type RequestRouteEvent = 'request'; type RecordingRouteEvent (line 149) | type RecordingRouteEvent = 'beforeReplay' | 'beforePersist'; type ResponseRouteEvent (line 150) | type ResponseRouteEvent = 'beforeResponse' | 'response'; type ErrorRouteEvent (line 151) | type ErrorRouteEvent = 'error'; type AbortRouteEvent (line 152) | type AbortRouteEvent = 'abort'; type ListenerEvent (line 154) | interface ListenerEvent { type Interceptor (line 158) | interface Interceptor extends ListenerEvent { type ErrorEventListener (line 162) | type ErrorEventListener = ( type AbortEventListener (line 167) | type AbortEventListener = ( type RequestEventListener (line 171) | type RequestEventListener = ( type RecordingEventListener (line 175) | type RecordingEventListener = ( type ResponseEventListener (line 180) | type ResponseEventListener = ( type InterceptHandler (line 185) | type InterceptHandler = ( class RouteHandler (line 190) | class RouteHandler { class PollyServer (line 228) | class PollyServer { class PollyLogger (line 242) | class PollyLogger { type PollyEvent (line 251) | type PollyEvent = 'create' | 'stop' | 'register'; type PollyEventListener (line 252) | type PollyEventListener = (poll: Polly) => void; class Polly (line 253) | class Polly { FILE: packages/@pollyjs/ember/blueprints/@pollyjs/ember/index.js method normalizeEntityName (line 5) | normalizeEntityName() {} method afterInstall (line 6) | afterInstall() { FILE: packages/@pollyjs/ember/index.js function determineEnv (line 12) | function determineEnv() { method init (line 43) | init() { method treeForAddon (line 52) | treeForAddon() { method contentFor (line 60) | contentFor(name) { method _pollyConfig (line 73) | _pollyConfig(env) { method serverMiddleware (line 101) | serverMiddleware(startOptions) { method testemMiddleware (line 105) | testemMiddleware(app) { FILE: packages/@pollyjs/ember/tests/dummy/app/app.js class App (line 6) | class App extends Application { FILE: packages/@pollyjs/ember/tests/dummy/app/router.js class Router (line 4) | class Router extends EmberRouter { FILE: packages/@pollyjs/node-server/src/api.js class API (line 6) | class API { method constructor (line 7) | constructor(options = {}) { method getRecording (line 18) | getRecording(recording) { method saveRecording (line 28) | saveRecording(recording, data) { method deleteRecording (line 36) | deleteRecording(recording) { method filenameFor (line 46) | filenameFor(recording) { method respond (line 50) | respond(status, body) { FILE: packages/@pollyjs/node-server/src/express/register-api.js function prependSlash (line 8) | function prependSlash(slash = '') { function registerAPI (line 16) | function registerAPI(app, config) { FILE: packages/@pollyjs/node-server/src/server.js class Server (line 11) | class Server { method constructor (line 12) | constructor(config = {}) { method listen (line 31) | listen(port, host) { FILE: packages/@pollyjs/node-server/types.d.ts type Config (line 5) | interface Config { type ServerConfig (line 13) | interface ServerConfig extends Config { type APIResponse (line 19) | interface APIResponse { class API (line 24) | class API { class Server (line 33) | class Server { FILE: packages/@pollyjs/persister-fs/src/index.js class FSPersister (line 6) | class FSPersister extends Persister { method constructor (line 7) | constructor() { method id (line 12) | static get id() { method defaultOptions (line 16) | get defaultOptions() { method onFindRecording (line 22) | onFindRecording(recordingId) { method onSaveRecording (line 26) | onSaveRecording(recordingId, data) { method onDeleteRecording (line 34) | onDeleteRecording(recordingId) { FILE: packages/@pollyjs/persister-fs/tests/unit/persister-test.js class MockPolly (line 6) | class MockPolly { method constructor (line 7) | constructor(persisterOptions = {}) { FILE: packages/@pollyjs/persister-fs/types.d.ts class FSPersister (line 3) | class FSPersister extends Persister<{ FILE: packages/@pollyjs/persister-in-memory/src/index.js class InMemoryPersister (line 5) | class InMemoryPersister extends Persister { method id (line 6) | static get id() { method onFindRecording (line 10) | onFindRecording(recordingId) { method onSaveRecording (line 14) | onSaveRecording(recordingId, data) { method onDeleteRecording (line 18) | onDeleteRecording(recordingId) { FILE: packages/@pollyjs/persister-in-memory/types.d.ts class InMemoryPersister (line 3) | class InMemoryPersister extends Persister {} FILE: packages/@pollyjs/persister-local-storage/src/index.js class LocalStoragePersister (line 5) | class LocalStoragePersister extends Persister { method id (line 6) | static get id() { method defaultOptions (line 10) | get defaultOptions() { method localStorage (line 17) | get localStorage() { method db (line 28) | get db() { method db (line 34) | set db(db) { method onFindRecording (line 38) | onFindRecording(recordingId) { method onSaveRecording (line 42) | onSaveRecording(recordingId, data) { method onDeleteRecording (line 49) | onDeleteRecording(recordingId) { FILE: packages/@pollyjs/persister-local-storage/types.d.ts class LocalStoragePersister (line 3) | class LocalStoragePersister extends Persister<{ FILE: packages/@pollyjs/persister-rest/src/ajax.js constant REQUEST_ASYNC (line 2) | const REQUEST_ASYNC = function ajax (line 6) | function ajax(url, options = {}) { function handleResponse (line 32) | function handleResponse(xhr, resolve, reject) { FILE: packages/@pollyjs/persister-rest/src/index.js class RestPersister (line 6) | class RestPersister extends Persister { method id (line 7) | static get id() { method defaultOptions (line 11) | get defaultOptions() { method ajax (line 18) | ajax(url, ...args) { method onFindRecording (line 24) | async onFindRecording(recordingId) { method onSaveRecording (line 32) | async onSaveRecording(recordingId, data) { method onDeleteRecording (line 43) | async onDeleteRecording(recordingId) { method _normalize (line 49) | _normalize({ xhr, body }) { FILE: packages/@pollyjs/persister-rest/types.d.ts class RESTPersister (line 3) | class RESTPersister extends Persister<{ FILE: packages/@pollyjs/persister/src/har/entry.js function totalTime (line 6) | function totalTime(timings = {}) { class Entry (line 13) | class Entry { method constructor (line 14) | constructor(request) { FILE: packages/@pollyjs/persister/src/har/index.js class HAR (line 3) | class HAR { method constructor (line 4) | constructor(opts = {}) { FILE: packages/@pollyjs/persister/src/har/log.js class Log (line 13) | class Log { method constructor (line 14) | constructor(opts = {}) { method addEntries (line 31) | addEntries(entries = []) { method sortEntries (line 39) | sortEntries() { FILE: packages/@pollyjs/persister/src/har/request.js function headersSize (line 7) | function headersSize(request) { class Request (line 26) | class Request { method constructor (line 27) | constructor(request) { FILE: packages/@pollyjs/persister/src/har/response.js function headersSize (line 7) | function headersSize(response) { class Response (line 24) | class Response { method constructor (line 25) | constructor(response) { FILE: packages/@pollyjs/persister/src/har/utils/get-first-header.js function getFirstHeader (line 12) | function getFirstHeader(r, name) { FILE: packages/@pollyjs/persister/src/har/utils/to-nv-pairs.js function toNVPairs (line 4) | function toNVPairs(o) { FILE: packages/@pollyjs/persister/src/index.js constant CREATOR_NAME (line 7) | const CREATOR_NAME = 'Polly.JS'; class Persister (line 9) | class Persister { method constructor (line 10) | constructor(polly) { method type (line 16) | static get type() { method id (line 21) | static get id() { method defaultOptions (line 25) | get defaultOptions() { method options (line 29) | get options() { method hasPending (line 36) | get hasPending() { method persist (line 45) | async persist() { method recordRequest (line 103) | recordRequest(pollyRequest) { method findRecording (line 122) | async findRecording(recordingId) { method onFindRecording (line 149) | onFindRecording() { method saveRecording (line 153) | async saveRecording(recordingId, har) { method onSaveRecording (line 159) | onSaveRecording() { method deleteRecording (line 163) | async deleteRecording(recordingId) { method onDeleteRecording (line 168) | onDeleteRecording() { method findEntry (line 172) | async findEntry(pollyRequest) { method stringify (line 185) | stringify() { method assert (line 189) | assert(message, ...args) { method _removeUnusedEntries (line 203) | _removeUnusedEntries(recordingId, har) { FILE: packages/@pollyjs/persister/tests/unit/persister-test.js class CustomPersister (line 23) | class CustomPersister extends Persister { method id (line 24) | static get id() { method onFindRecording (line 28) | async onFindRecording() { method onSaveRecording (line 35) | async onSaveRecording() { method onDeleteRecording (line 40) | async onDeleteRecording() { FILE: packages/@pollyjs/persister/types.d.ts type NVObject (line 4) | type NVObject = { name: string; value: string }; type HarRequest (line 6) | interface HarRequest { type HarResponse (line 22) | interface HarResponse { type HarEntry (line 38) | interface HarEntry { type HarLog (line 57) | interface HarLog { type Har (line 66) | interface Har { class Persister (line 70) | class Persister { FILE: packages/@pollyjs/utils/src/utils/build-url.js function buildUrl (line 3) | function buildUrl(...paths) { FILE: packages/@pollyjs/utils/src/utils/clone-arraybuffer.js function cloneArrayBuffer (line 6) | function cloneArrayBuffer(arrayBuffer) { FILE: packages/@pollyjs/utils/src/utils/is-buffer-utf8-representable.js function isBufferUtf8Representable (line 7) | function isBufferUtf8Representable(buffer) { FILE: packages/@pollyjs/utils/src/utils/polly-error.js class PollyError (line 1) | class PollyError extends Error { method constructor (line 2) | constructor(message, ...args) { FILE: packages/@pollyjs/utils/src/utils/serializers/blob.js function readBlob (line 9) | function readBlob(blob) { function serialize (line 20) | async function serialize(body) { FILE: packages/@pollyjs/utils/src/utils/serializers/buffer.js function serialize (line 6) | function serialize(body) { FILE: packages/@pollyjs/utils/src/utils/serializers/form-data.js function serialize (line 5) | async function serialize(body) { FILE: packages/@pollyjs/utils/src/utils/timeout.js function timeout (line 1) | function timeout(time) { FILE: packages/@pollyjs/utils/src/utils/timestamp.js function timestamp (line 1) | function timestamp() { FILE: packages/@pollyjs/utils/src/utils/url.js constant ARRAY_FORMAT (line 4) | const ARRAY_FORMAT = Symbol(); constant INDICES_REGEX (line 5) | const INDICES_REGEX = /\[\d+\]$/; constant BRACKETS_REGEX (line 6) | const BRACKETS_REGEX = /\[\]$/; function parseQuery (line 8) | function parseQuery(query, options) { function stringifyQuery (line 17) | function stringifyQuery(obj, options = {}) { function arrayFormat (line 32) | function arrayFormat(query) { class URL (line 61) | class URL extends URLParse { method constructor (line 62) | constructor(url, parse) { method set (line 80) | set(part, value, fn) { method toString (line 100) | toString() { FILE: packages/@pollyjs/utils/tests/serializer-tests.js function serializerTests (line 1) | function serializerTests(serialize) { FILE: packages/@pollyjs/utils/types.d.ts type MODES (line 1) | enum MODES { type ACTIONS (line 8) | enum ACTIONS { type EXPIRY_STRATEGIES (line 15) | enum EXPIRY_STRATEGIES { FILE: scripts/rollup/browser.config.js function createBrowserConfig (line 14) | function createBrowserConfig(options = {}, targets) { FILE: scripts/rollup/browser.test.config.js function createBrowserTestConfig (line 8) | function createBrowserTestConfig(options = {}) { FILE: scripts/rollup/jest.test.config.js function createJestTestConfig (line 6) | function createJestTestConfig(options = {}) { FILE: scripts/rollup/node.config.js function createNodeConfig (line 12) | function createNodeConfig(options = {}) { FILE: scripts/rollup/node.test.config.js function createNodeTestConfig (line 12) | function createNodeTestConfig(options = {}) { FILE: tests/helpers/file.js method value (line 42) | value() { FILE: tests/helpers/setup-fetch-record.js method fetch (line 3) | fetch() { function setupFetchRecord (line 8) | function setupFetchRecord(options) { FILE: tests/helpers/setup-persister.js function setupPersister (line 1) | function setupPersister() { FILE: tests/integration/adapter-browser-tests.js function adapterBrowserTests (line 4) | function adapterBrowserTests() { FILE: tests/integration/adapter-identifier-tests.js function adapterIdentifierTests (line 4) | function adapterIdentifierTests() { function captureRequests (line 249) | function captureRequests(server) { function lookupAdapterName (line 257) | function lookupAdapterName(polly) { function testConfiguration (line 261) | function testConfiguration(optionName, value, expectedValues) { FILE: tests/integration/adapter-node-tests.js function adapterNodeTests (line 3) | function adapterNodeTests() { FILE: tests/integration/adapter-polly-tests.js function pollyTests (line 1) | function pollyTests() { FILE: tests/integration/adapter-tests.js function adapterTests (line 4) | function adapterTests() { FILE: tests/integration/persister-tests.js function persisterTests (line 4) | function persisterTests() {