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
|
|
@ -53,7 +53,7 @@ export const recordedTests = (options: RecordedTestsOptions) =>
|
|||
...metadata,
|
||||
}
|
||||
const mode = recorderOptions?.mode ?? (recording ? "record" : "replay")
|
||||
const cassetteService = HttpRecorder.Cassette.layer({ directory: FIXTURES_DIR }).pipe(
|
||||
const cassetteService = HttpRecorder.Cassette.fileSystem({ directory: FIXTURES_DIR }).pipe(
|
||||
Layer.provide(NodeFileSystem.layer),
|
||||
)
|
||||
const requestExecutor = RequestExecutor.layer.pipe(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue