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

[Woo POS] Analytics: Unit Test Improvements #15179

Open
iamgabrielma opened this issue Feb 18, 2025 · 1 comment
Open

[Woo POS] Analytics: Unit Test Improvements #15179

iamgabrielma opened this issue Feb 18, 2025 · 1 comment
Labels
feature: POS type: enhancement A request for an enhancement. type: task An internally driven task.

Comments

@iamgabrielma
Copy link
Contributor

Ref: #15148 (comment)

To have tests that calculate event timing logic, we would need for POSCollectOrderPaymentAnalytics methods or initializer to inject some date handler that would allow us to inject specific date instead of Date().

@iamgabrielma iamgabrielma added type: task An internally driven task. type: enhancement A request for an enhancement. feature: POS labels Feb 18, 2025
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: POS type: enhancement A request for an enhancement. type: task An internally driven task.
Projects
None yet
Development

No branches or pull requests

2 participants