Skip to content

Commit 5ba477b

Browse files
authoredJan 6, 2025
chore(examples): remove outdated testing example (payloadcms#10370)
This deletes the outdated testing example, as it has not been updated to Payload v3 yet. We can add it back in the future once we updated it. Generally, the Next.js testing docs should now be valid: https://nextjs.org/docs/app/building-your-application/testing. However, it might still make sense to provide a v3 testing example to showcase things like booting up an in-memory db
1 parent 8d24528 commit 5ba477b

14 files changed

+0
-9358
lines changed
 

Diff for: ‎docs/examples/overview.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Payload provides a vast array of examples to help you get started with your proj
1616
- [Live Preview](https://github.com/payloadcms/payload/tree/main/examples/live-preview)
1717
- [Multi-tenant](https://github.com/payloadcms/payload/tree/main/examples/multi-tenant)
1818
- [Tailwind / Shadcn-ui](https://github.com/payloadcms/payload/tree/main/examples/tailwind-shadcn-ui)
19-
- [Tests](https://github.com/payloadcms/payload/tree/main/examples/testing)
2019
- [White-label Admin UI](https://github.com/payloadcms/payload/tree/main/examples/whitelabel)
2120

2221
If you'd like to run the examples, you can use `create-payload-app` to create a project from one:

Diff for: ‎examples/testing/.env.example

-5
This file was deleted.

Diff for: ‎examples/testing/README.md

-151
This file was deleted.

Diff for: ‎examples/testing/jest.config.ts

-16
This file was deleted.

Diff for: ‎examples/testing/nodemon.json

-4
This file was deleted.

Diff for: ‎examples/testing/package.json

-34
This file was deleted.

Diff for: ‎examples/testing/src/payload-types.ts

-35
This file was deleted.

Diff for: ‎examples/testing/src/payload.config.ts

-43
This file was deleted.

Diff for: ‎examples/testing/src/server.ts

-23
This file was deleted.

Diff for: ‎examples/testing/src/tests/credentials.ts

-4
This file was deleted.

Diff for: ‎examples/testing/src/tests/globalSetup.ts

-43
This file was deleted.

Diff for: ‎examples/testing/src/tests/login.spec.ts

-22
This file was deleted.

Diff for: ‎examples/testing/tsconfig.json

-25
This file was deleted.

Diff for: ‎examples/testing/yarn.lock

-8,952
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.