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
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Thanks for the information @nanddeepn I'll double check that.
@andrewconnell can you assign this one to me please? I'll double check when I get a minute. Thanks!
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues
Most helpful comment
Thanks for the information @nanddeepn I'll double check that.
@andrewconnell can you assign this one to me please? I'll double check when I get a minute. Thanks!