Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix runtime errors in Storybooks #456

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

vishalshrm539
Copy link
Contributor

  • Fixed the runtime errors in the Storybook.
  • Have added Mocks for the Auth Manager APIs.

test: /\.(d.ts)$/,
loader: 'null-loader'
});
(config.resolve.alias['@pega/auth/lib/sdk-auth-manager'] = path.resolve(__dirname, '../__mocks__/authManager.tsx')),
Copy link
Collaborator

Choose a reason for hiding this comment

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

any specific reason for adding parenthesis before and after here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe, Prettier did this on Save. Got rid of it now.

@tumms2021389 tumms2021389 merged commit c1e5587 into release/23.1.11-Alpha Mar 26, 2024
2 checks passed
@tumms2021389 tumms2021389 deleted the mod/tor/storybookIssues branch March 26, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants