-
Notifications
You must be signed in to change notification settings - Fork 41
feat(env-helper): adding new test-env support package #1749
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| session = await getAuthenticatedSession(env); | ||
| sessionResource = `${env.pod}${sessionResourcePrefix}${session.info.sessionId}`; | ||
| pod = await getPodRoot(session); | ||
| sessionResource = `${pod}${sessionResourcePrefix}${session.info.sessionId}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NSeydoux @chelseapinka something we'll want to be very careful of in the future is making sure we construct IRIs properly with new URL it's not clear that pod has a trailing slash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah good point I missed that
| cwd: "../testApp", | ||
| command: "npm run dev", | ||
| // cwd: "./e2e/browser/testApp/", | ||
| command: "cd ./e2e/browser/testApp/ && npm run dev", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chelseapinka did cwd work here, or was cd in the command better?
Adding @inrupt-test-env-helper package.
Goal of package is to replace redundant code with a reusable and extendable module for inrupts' packages.
Testing:
Unit test cases were erring for the main code branch.

Checklist
index.ts, if applicable..tsfiles) are listed in theexportsfield inpackage.json, if applicable..tsfiles) are listed in thetypedocOptions.entryPointsfield intsconfig.json, if applicable.