-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E2E test for cloudflare/pp- components #4
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This repository is part of a 4 component architecture
The current testing method relies on a dev environment to be deployed.
It would be good to automate it, and share this testbed across repos to validate individual changes. A sample test procedure could be:
npm run dev -- --port 8787 && curl -X POST http:https://localhost:8787/admin/rotate
npm run dev -- --port 8788 --var ISSUER_DIRECTORY_URL:"http:https://localhost:8787/.well-known/private-token-issuer-directory" --var ISSUER_REQUEST_URL:"http:https://localhost:8787/token-request"
npm run dev -- --port 8789 --var ISSUER_NAME:"localhost:8787" --var ORIGIN_NAME:"localhost:8789"
npm run build
The text was updated successfully, but these errors were encountered: