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

Nx unit testing #27

Closed
wants to merge 10 commits into from
Closed

Conversation

adamzero1
Copy link
Contributor

  • feat: initial add of unit tests leveraging Nx

  • fix: unit test checking for wrong format
    Adding right to left mark's, which PHPs \NumberFormatter is automatically adding in response.
    ([U+200F])

    Given the involved files haven't been modified in a long time:

    app/code/Magento/Directory/Model/Currency.php 9 months
    app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php 6 Months
    lib/internal/Magento/Framework/NumberFormatter.php 2 years
    I can only guess this is PHP version thing or, has always been here?
    magento/magento2@91816f7
    Even though the comment is incorrect, this commit must of been the start. (n.b reverting this doesn't fix the issue)

@adamzero1 adamzero1 requested a review from a team as a code owner June 6, 2023 07:10
@adamzero1
Copy link
Contributor Author

Please leave this with me, I need to debug the unit tests.

@adamzero1 adamzero1 changed the title Nx unit testing Draft: Nx unit testing Jun 6, 2023
@adamzero1 adamzero1 marked this pull request as draft June 6, 2023 13:12
@adamzero1 adamzero1 changed the title Draft: Nx unit testing Nx unit testing Jul 25, 2023
@adamzero1 adamzero1 marked this pull request as ready for review July 25, 2023 13:10
@adamzero1
Copy link
Contributor Author

closing this as it's replaced by: #31

@adamzero1 adamzero1 closed this Aug 1, 2023
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.

1 participant