Skip to content

@graphty/graphty-element / index / ReplayOptions

Interface: ReplayOptions ​

Defined in: graph-io/dist/src/sources/testing.d.ts:34

The options of replayFetch. Experimental.

Properties ​

onUnrecorded? ​

readonly optional onUnrecorded?: "throw"

Defined in: graph-io/dist/src/sources/testing.d.ts:36

What an unrecorded request does: "throw" (the only choice; the test fails).

Default Value ​

ts
"throw"

secretHeaders? ​

readonly optional secretHeaders?: readonly string[]

Defined in: graph-io/dist/src/sources/testing.d.ts:40

Request headers that hold a credential, beside Authorization.


secretQuery? ​

readonly optional secretQuery?: readonly string[]

Defined in: graph-io/dist/src/sources/testing.d.ts:38

Query parameters that hold a credential: ignored when matching, counted as a credential.