You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is not clear how to do integration tests with 3.0. The testing sample in the repo still seems to be v2 related.
The goal would be to init payload and next to be able to test api routes / server actions, etc.
Reproduction Steps
Updating the testing sample would definitely help, however, this is bootstrapping a whole server (currently via express). It would be nice to be able to setup test data using the payload apis.
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered:
Link to reproduction
No response
Payload Version
3.0.0-beta.90
Node Version
20
Next.js Version
Next.js 15.0.0-canary.104
Describe the Bug
Currently it is not clear how to do integration tests with 3.0. The
testing
sample in the repo still seems to be v2 related.The goal would be to init payload and next to be able to test api routes / server actions, etc.
Reproduction Steps
Updating the testing sample would definitely help, however, this is bootstrapping a whole server (currently via express). It would be nice to be able to setup test data using the
payload
apis.Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: