Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to test actions? - SolidJS
S
SolidJS
โข
8mo ago
โข
3 replies
Carl (klequis)
How to test actions?
I
'm using vitest in a SolidStart project
.
I
'm trying to create tests for an action and haven
't been able to figure it out or find any info on it
.
My current guess is that I need to automate
/UI Test a form in a route
, but thought I would ask before using more time by guessing
.
I have never done UI testing and wishing there was a way to do this in pure JS
. But
useAction
useAction
only works in a Route so I
'm guessing creating a route with a form is the only way
?
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
how to redirect from form actions
S
SolidJS / support
2y ago
Help understanding actions and how to manage user session
S
SolidJS / support
2y ago
how do form actions revalidate data?
S
SolidJS / support
2y ago
How to create and test a data fetching library?
S
SolidJS / support
2y ago