#Unit Test

4 messages · Page 1 of 1 (latest)

still carbon
#

the case i had, when i ran the unit test, i got the error message: To use Server Actions, please enable the feature flag in your Next.js config. Read more: https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions#convention.

I myself have previously tried enabling Server Actions, and testing the function that I created, the function's purpose is to create a User, and send it to the database.

tough compassBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

still carbon
#

I know, that this is quite a strange action for me to do, because the router app itself doesn't provide docs for unit-testing.

so I thought, maybe this is an error, or a bug from the unit test, this is just my assumption