Skip to content

Improvement: BB-779 #951

Improvement: BB-779

Improvement: BB-779 #951

Triggered via pull request January 13, 2024 18:05
Status Success
Total duration 53s
Artifacts

lint-pull-requests.yml

on: pull_request_target
Run linters for pull requests
44s
Run linters for pull requests
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
test/src/server/helpers/utils.js#L6
Imports should be sorted alphabetically (sort-imports)
test/src/server/helpers/utils.js#L49
Trailing spaces not allowed (no-trailing-spaces)
test/src/server/helpers/utils.js ► stringToHTMLWithLinks ► should convert a string with a single http link to a clickable link: test/src/server/helpers/utils.js#L26
Failed test found in: test-results.json Error: expected undefined to equal '<span><a href="http://example.com" ta…'
test/src/server/helpers/utils.js ► stringToHTMLWithLinks ► should convert a string with multiple http links to clickable links: test/src/server/helpers/utils.js#L33
Failed test found in: test-results.json Error: expected undefined to equal '<span><a href="http://example.com" ta…'
test/src/server/helpers/utils.js ► stringToHTMLWithLinks ► should handle links enclosed within parentheses correctly: test/src/server/helpers/utils.js#L40
Failed test found in: test-results.json Error: expected undefined to equal '<span><span>(</span><a href="http://e…'
test/src/server/helpers/utils.js ► stringToHTMLWithLinks ► should handle links with balanced parentheses correctly: test/src/server/helpers/utils.js#L47
Failed test found in: test-results.json Error: expected undefined to equal '<span><a href="https://da.wikipedia.o…'
test/src/server/helpers/utils.js ► stringToHTMLWithLinks ► should handle links with balanced parentheses enclosed in a paranthesis correctly: test/src/server/helpers/utils.js#L54
Failed test found in: test-results.json Error: expected undefined to equal '<span><span>(source: </span><a href="…'
src/client/components/pages/revision.js#L177
Unexpected 'todo' comment: 'TODO: Add proper error handling.' (no-warning-comments)
Run linters for pull requests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/