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
While trying to follow the examples/testing approach to test a new v3 project, I quickly found many errors cropping up on the payload.init() call and checked - the example seems to be for PayloadCMS 2.0 only, not 3.0. Also, I could not figure out for the life of me what started the in-memory MongoDB server, there are no explicit calls to the library I could find or any passing of the connection parameters to the PayloadCMS instance. In any case, it would be great to upgrade this example to 3.0 and show setup for any of the other drivers. I couldn't find anything obvious in the core tests, I found helpers to start the in-memory MongoDB server but nothing for other databases.
The text was updated successfully, but these errors were encountered:
While trying to follow the
examples/testing
approach to test a new v3 project, I quickly found many errors cropping up on thepayload.init()
call and checked - the example seems to be for PayloadCMS 2.0 only, not 3.0. Also, I could not figure out for the life of me what started the in-memory MongoDB server, there are no explicit calls to the library I could find or any passing of the connection parameters to the PayloadCMS instance. In any case, it would be great to upgrade this example to 3.0 and show setup for any of the other drivers. I couldn't find anything obvious in the core tests, I found helpers to start the in-memory MongoDB server but nothing for other databases.The text was updated successfully, but these errors were encountered: