Skip to content

Conversation

@kashish2508
Copy link
Member

…ult export

Packages impacted by this PR

@azure/playwright

Issues associated with this PR

Describe the problem that is addressed by this PR

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

Copilot AI review requested due to automatic review settings January 5, 2026 18:26
@kashish2508 kashish2508 requested a review from a team as a code owner January 5, 2026 18:26
@github-actions
Copy link

github-actions bot commented Jan 5, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

@azure/playwright

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the PlaywrightReporter class to use a named export instead of a default export internally, while maintaining backward compatibility through the public API.

Key Changes:

  • Changed class declaration from default export to named export in the source file
  • Updated the reporter index to re-export as default (maintaining public API)
  • Updated test imports to use named export

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
sdk/loadtesting/playwright/src/reporter/playwrightReporter.ts Changed class export from export default class to export class
sdk/loadtesting/playwright/src/reporter/index.ts Updated to import named export and re-export as default to maintain backward compatibility
sdk/loadtesting/playwright/test/reporter/playwrightReporter.spec.ts Updated test file to use named import from source file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant