-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Good First Issue 🏆Great suggestion for someone from the community to jump in as their first issue to address / fix!Great suggestion for someone from the community to jump in as their first issue to address / fix!area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devarea:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)help wantedLooking for someone to help with this issue (documentation fix, etc).Looking for someone to help with this issue (documentation fix, etc).
Description
Under the paragraph, "Finally you need to modify the package.json to configure the reporter", the configuration ""jest-junit" does not work.
Suggestion# 1:
The below code part
"jest-junit": {
"output": "temp/test/junit/junit.xml",
"usePathForSuiteName": "true"
}
should be changed to
"jest": {
"reporters": [
[
"jest-junit", {
"suiteName": "SharePoint SPFx Testing",
"outputDirectory": "./reports/",
"outputName": "./junit.xml"
}
]
]
}
Suggestion# 2:
Importing test results should be changed as per "Publish Test Results" section here - an article by @estruyf
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 6db891d3-c14d-9bae-80fc-cedaf2eb5982
- Version Independent ID: aae8a107-ee2a-7b9c-9022-9946b7f65909
- Content: Implement Continuous Integration and Continuous deployment using Azure DevOps
- Content Source: docs/spfx/toolchain/implement-ci-cd-with-azure-devops.md
- Product: sharepoint
- Technology: sharepoint-framework
- GitHub Login: @spdevdocs
- Microsoft Alias: spdevdocs
Metadata
Metadata
Assignees
Labels
Good First Issue 🏆Great suggestion for someone from the community to jump in as their first issue to address / fix!Great suggestion for someone from the community to jump in as their first issue to address / fix!area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devarea:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)help wantedLooking for someone to help with this issue (documentation fix, etc).Looking for someone to help with this issue (documentation fix, etc).