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

Feature request: Ability to observe what notifications exist on form #59

Open
skfd opened this issue Feb 3, 2021 · 1 comment
Open

Comments

@skfd
Copy link

skfd commented Feb 3, 2021

Dynamics does not have an ability to peek what notifications are set on form.

But for a test it would be helpful to have an ability to check that notifications were indeed set.

@maichopra
Copy link

maichopra commented Nov 14, 2024

This is something can usually be handled by the testing framework, but there is also an example in the tests folder that may help.
I've added a page to the wiki that talks about testing notifications with Vitest.

In essence you implement a spy here is the Jest documentation and Vitest documentation if you are still looking to solve this problem.

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

No branches or pull requests

2 participants