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

Refactor CharCheckLimit test file to new format #3468

Merged
merged 7 commits into from
Jan 10, 2025

Conversation

SriHV
Copy link
Contributor

@SriHV SriHV commented Jan 3, 2025

What is the context of this PR?

ONSDESYS-39
Refactored the document list macro.spec file as per the new format.

How to review this PR

Ask yourself....

  • Do we need any additional tests?
  • Are the tests descriptions clear?
  • Does the order of the test document make sense?
  • Is it internally consistent?
  • Is it consistent with the guidelines for test refactoring?

run this test command to view the test results:
yarn test --testNamePattern="FOR: Macro: Char check limit"

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

Copy link

netlify bot commented Jan 3, 2025

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit 9388c65
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/67814bae6ac1c50008f903a0
😎 Deploy Preview https://deploy-preview-3468--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SriHV SriHV self-assigned this Jan 3, 2025
@SriHV SriHV added the Enhancement Change of existing feature label Jan 3, 2025
@SriHV
Copy link
Contributor Author

SriHV commented Jan 3, 2025

Limit param is defined in documentation but is not used in macro file. Do we need to create a new ticket to remove the param?

@SriHV SriHV marked this pull request as ready for review January 3, 2025 16:27
@SriHV SriHV changed the title Refactored tests in char check limit component Refactor Char check limit test file to new format Jan 3, 2025
Copy link
Contributor

@rmccar rmccar left a comment

Choose a reason for hiding this comment

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

Few minor things

src/components/char-check-limit/_macro.spec.js Outdated Show resolved Hide resolved
src/components/char-check-limit/_macro.spec.js Outdated Show resolved Hide resolved
src/components/char-check-limit/_macro.spec.js Outdated Show resolved Hide resolved
src/components/char-check-limit/_macro.spec.js Outdated Show resolved Hide resolved
@rmccar rmccar changed the title Refactor Char check limit test file to new format Refactor CharCheckLimit test file to new format Jan 10, 2025
@rmccar rmccar merged commit d8d5a8b into main Jan 10, 2025
26 checks passed
@rmccar rmccar deleted the enhancement/39/testing-refactor-char-check-limit branch January 10, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Change of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants