Skip to content

Adding logic to sort the posts by popularity. Still need to be tested #20

Adding logic to sort the posts by popularity. Still need to be tested

Adding logic to sort the posts by popularity. Still need to be tested #20

Triggered via pull request September 25, 2024 02:39
Status Failure
Total duration 1m 45s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: src/categories/topics.js#L107
Trailing spaces not allowed
test: src/categories/topics.js#L114
Trailing spaces not allowed
test: src/categories/topics.js#L115
["value"] is better written in dot notation
test: src/categories/topics.js#L118
Unexpected use of continue statement
test: src/categories/topics.js#L121
Operator '/' must be spaced
test: src/categories/topics.js#L121
Trailing spaces not allowed
test: src/categories/topics.js#L122
["score"] is better written in dot notation
test: src/categories/topics.js#L123
Use the '**' operator instead of 'Math.pow'
test: src/categories/topics.js#L123
'Math.pow' is restricted from being used. Use the exponentiation operator (**) instead
test: src/categories/topics.js#L123
Operator '+' must be spaced