We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8938f16 commit 005e127Copy full SHA for 005e127
src/utils/annotations.js
@@ -27,9 +27,8 @@ exports.setFailedAnnotations = async function setFailedAnnotations(resultsPath)
27
const assertionsText = assertions.map(a => {
28
const emoji = a.level === 'error' ? '❌' : '⚠️'
29
return (
30
- `${emoji} \`${a.auditId}.${a.auditProperty}\` ${a.level === 'error' ? 'failure' : 'warning'} for \`${
31
- a.name
32
- }\` assertion` +
+ `${emoji} \`${a.auditId}${a.auditProperty ? '.' + a.auditProperty : ''}\` `+
+ `${a.level === 'error' ? 'failure' : 'warning'} for \`${a.name}\` assertion` +
33
`${a.auditTitle ? ` (${a.auditTitle}: ${a.auditDocumentationLink})` : ''}\n` +
34
`Expected ${a.operator} ${a.expected}, but found ${a.actual}`
35
)
0 commit comments