HansGabriel
Explore posts from serversTTCTheo's Typesafe Cult
•Created by HansGabriel on 5/3/2023 in #questions
How to use next-auth/clerk.js for getting user session
The current docs used a mock function for getting the user session. How might this be integrated with the t3 stack?
5 replies
TTCTheo's Typesafe Cult
•Created by HansGabriel on 12/22/2022 in #questions
How to setup and teardown database records when running integration tests with trpc?
Currently, I'm doing this but it seems impractical to do with more tables in the database. Is there an alternative approach?
I also run into errors where certain tables still contain records which means it's not cleaned up properly after running tests. Thanks in advanced! ❤️
3 replies
TTCTheo's Typesafe Cult
•Created by HansGabriel on 10/31/2022 in #questions
Mocked unit tests or Integration tests
When running tests in the frontend that involves a server side call, do you prefer to mock the server side call to do the unit tests or do you skip that and proceed with writing Integration/E2E tests?
3 replies
TTCTheo's Typesafe Cult
•Created by HansGabriel on 10/30/2022 in #questions
How to increase 1mb upload limit
3 replies
TTCTheo's Typesafe Cult
•Created by HansGabriel on 9/22/2022 in #questions
DB seeding
Will there be any plans to add a db seeding template to the T3 stack? Perhaps a script file that users can edit and run a db seed script to populate the database? Thanks!
18 replies