Skip to content

post a comment into the PR with the WI link #145

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brunano21
Copy link

No description provided.

@git2gus
Copy link

git2gus bot commented Nov 7, 2022

Git2Gus App is installed but the .git2gus/config.json doesn't exist.

@salesforce-cla
Copy link

salesforce-cla bot commented Nov 7, 2022

Thanks for the contribution! It looks like @brunano21 is an internal user so signing the CLA is not required. However, we need to confirm this.

@@ -40,6 +50,8 @@ const reqWithoutWorkItem = {

describe('createChatterComment action', () => {
it('should call Issue.getName and Gus.createComment with workitem from title', async () => {
process.env.WORK_ITEM_BASE_URL =
'https://gus.lightning.force.com/lightning/r/ADM_Work__c/';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test without having an explit link to gus.lightning.force.com? git2gus needs to work with Agile Accelerator - which is a product on AppExchange

Copy link
Author

@brunano21 brunano21 Nov 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could set process.env.WORK_ITEM_BASE_URL to any value actually. The test is just verifying that WORK_ITEM_BASE_URL is used to create the expected URL. I was following pattern seen into <root>/api/services/Issues/__test__/getWorkItemUrl.spec.js.

@brunano21 brunano21 requested review from trinasfdx and removed request for klewis-sfdc and gbockus-sf November 9, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants