S
SolidJS5mo ago
NexRX

Using vitest to render FileRoutes?

Hey guys, I'm trying to run tests rendering the routes using the whole app with vitest. But I'm getting import errors inside the solid/routes package when I try. I've got a more exhaustive GitHub discussion here https://github.com/solidjs/solid-start/discussions/1583 with stack blitz and all to reproduce. Is it possible to do this or do I have to change some default configurations?
GitHub
Is it possible to test the whole App with routes? · solidjs solid-s...
I want to test using a render of the whole app with all the routes but when i use the vitest template and add a test to do so as follows: import { describe, it, expect } from 'vitest'; impo...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server