We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7334880 commit 2abee20Copy full SHA for 2abee20
packages/payment-integration-test-framework/src/fixture/pageObject/playwright/PollyObject.ts
@@ -185,7 +185,8 @@ export class PollyObject {
185
if (this.polly && recordingsDir) {
186
const api = new API({ recordingsDir });
187
// PollyJS type bug: The type definition does not match with the actual implementation.
188
- const entries = api.getRecordings(this.polly.recordingId).body?.log?.entries;
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
189
+ const entries = api.getRecording(this.polly.recordingId).body?.log?.entries;
190
191
if (entries) {
192
return entries;
0 commit comments