Skip to content

Commit 2abee20

Browse files
committed
fix(common): CHECKOUT-6832 Revert function name
1 parent 7334880 commit 2abee20

File tree

1 file changed

+2
-1
lines changed
  • packages/payment-integration-test-framework/src/fixture/pageObject/playwright

1 file changed

+2
-1
lines changed

packages/payment-integration-test-framework/src/fixture/pageObject/playwright/PollyObject.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ export class PollyObject {
185185
if (this.polly && recordingsDir) {
186186
const api = new API({ recordingsDir });
187187
// PollyJS type bug: The type definition does not match with the actual implementation.
188-
const entries = api.getRecordings(this.polly.recordingId).body?.log?.entries;
188+
// 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;
189190

190191
if (entries) {
191192
return entries;

0 commit comments

Comments
 (0)