issues Search Results · repo:testing-library/svelte-testing-library language:JavaScript
Filter by
119 results
(77 ms)119 results
intesting-library/svelte-testing-library (press backspace or delete to remove)We ve had a lot of great feedback, issue reports, ideas, etc. in #284. It would be great to incorporate those
contributions into the documentation
mcous
- Opened 6 days ago
- #442
The current Svelte Testing Library example documentation uses the legacy Svelte syntax. With Svelte 5 s stable release
and the introduction of runes, it would be wonderful if the examples could be updated ...
shinokada
- 1
- Opened 21 days ago
- #441
Hello, I m encountering the following error when running tests in project1 for a component that imports another
component from a local shared package (package/):
TypeError: Unknown file extension .svelte ...
missing reproduction
LeoDoby
- 3
- Opened on Apr 18
- #430
Hello,
Is there a way to render a component, set the test conditions and then call something like
expect(RenderedComponent).toRenderSnippet(...) or .not.toRenderSnippet(...)?
For example
it( should ...
wontfix
AntonioVentilii
- 2
- Opened on Apr 15
- #429
Is there a best practice or a good way to test code that has setup in a parent layout. For example, I used svelte kit
latest sample and then tested a page that was using svelte query provider defined in ...
niemyjski
- 1
- Opened on Feb 22
- #425
I m having an issue when trying to test custom elements (using jsdom) in Svelte. When I use const result =
render(MyComponent, { props: { options: [ v1 , v2 , v3 ] , value: , multiple: false } }); the ...
EricVanEldik
- 3
- Opened on Dec 30, 2024
- #419
Is it possible today to test a server-rendered component? My understanding is render will return a mounted component
with all initial JS ran (top-level script, effects and use: actions).
If not, it would ...
wontfix
theetrain
- 2
- Opened on Dec 12, 2024
- #418
Problem
During migration from Svelte 4 to Svelte 5 I am getting error when I try to render component with global transition.
If I remove the global transition from p in:slide|global to p in:slide, it ...
wontfix
ivenuss
- 3
- Opened on Dec 4, 2024
- #416
Using the docs to setup testing with svelte 5 (sveltekit) and vitest, I am facing the following error.
FAIL src/lib/greeter.svelte.test.js no initial greeting
TypeError: list.map is not a function ...
kvmw
- 4
- Opened on Dec 2, 2024
- #415
Hey there, this is probably user error, but I m confused about it.
I ve created a simple wrapper function around render that sets up a user and returns it, along with all the props that
render returns. ...
crookedneighbor
- 7
- Opened on Nov 14, 2024
- #408

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.