solid-testing-library
solid-testing-library copied to clipboard
Simple and complete Solid testing utilities that encourage good testing practices.
I just installed the ts-vitest template in this way: ```bash npx degit solidjs/templates/ts-vitest test-ts-vitest ``` I have also installed the @solidjs/router library In addition to the other three default tests...
Made a minor change to the readme. I know the library was inspired by the preact version, but it seems like the link in the docs should point to the...
The issue has already been described in the Kobalte repository, along with a reproducible example: https://github.com/kobaltedev/kobalte/issues/254
Full disclosure, I don't know if this issue belongs here or if it belongs in Vite/Vitest. Please let me know if it should move to one of those other places....
I apologize if this issue is known, or if it does not belong to this repo, but I could not find any answer anywhere, including ChatGPT. Consider this dummy component:...
In order to use Vitest getByText with solid, I found it was necessary to wrap `` with a `` element. This isn't necessary in the jest or uvu examples. https://github.com/solidjs/templates/pull/140/files#diff-bd38a4b23a37c0b01fcb17b274fa2578fccce12a7ec824627c84003858ef819d
Could you add some working example code or tests in this repo to demonstrate how how to use this library? Specifically, I'm trying to test a memo created by a...
This might be related to #60 - I'm also using vitest. The following test fails: ```js import { render, screen} from '@solidjs/testing-library' import { Route, Router } from "@solidjs/router" test.only('render...
The query commands (`getByRole`, `getByTestId`, etc.) fail to pick up children of ``s. --- The children of ``s get rendered in a separate `` from the content of the `render`...
Ran into this on my own project, so I created a reproducable example (full repo here: https://github.com/agmcleod/solid-testing-library-bug). I generated the example repo with solid start, but the only changes i...