refactor(http-recorder): hide cassette format behind Cassette seam (#26725)
This commit is contained in:
parent
fa15dbc5ec
commit
2bd3d9a696
10 changed files with 224 additions and 230 deletions
|
|
@ -138,7 +138,7 @@ export const recordingLayer = (
|
|||
|
||||
export const cassetteLayer = (name: string, options: RecordReplayOptions = {}): Layer.Layer<HttpClient.HttpClient> =>
|
||||
recordingLayer(name, options).pipe(
|
||||
Layer.provide(CassetteService.layer({ directory: options.directory })),
|
||||
Layer.provide(CassetteService.fileSystem({ directory: options.directory })),
|
||||
Layer.provide(FetchHttpClient.layer),
|
||||
Layer.provide(NodeFileSystem.layer),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue