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

component testing: onMount method is not called #1795

Closed
benoitf opened this issue Mar 23, 2023 · 0 comments · Fixed by #1796
Closed

component testing: onMount method is not called #1795

benoitf opened this issue Mar 23, 2023 · 0 comments · Fixed by #1796
Assignees

Comments

@benoitf
Copy link
Collaborator

benoitf commented Mar 23, 2023

Bug description

When adding new tests I discovered that onMount method of svelte components is not called.

it is related to vitest-dev/vitest#2834

Operating system

macOS

Version

0.12.0

Steps to reproduce

add some tests checking the behavior of the onMount() method

it doesn't work as onMount method is not called

Relevant log output

No response

Additional context

No response

@benoitf benoitf self-assigned this Mar 23, 2023
benoitf added a commit to benoitf/desktop that referenced this issue Mar 23, 2023
…nent testing

fixes containers#1795

Change-Id: I9cd4ddf21d38941e6b0fdf8a30ba627e43749f37
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
benoitf added a commit that referenced this issue Mar 23, 2023
…nent testing

fixes #1795

Change-Id: I9cd4ddf21d38941e6b0fdf8a30ba627e43749f37
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant