Skip to content

Commit

Permalink
Top langs card tests: Fixed helper functions docstrings (#2893)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty541 committed Jun 28, 2023
1 parent ee978f3 commit 9f7184c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/renderTopLanguages.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const langs = {
* Retrieve number array from SVG path definition string.
*
* @param {string} d SVG path definition string.
* @return {number[]} Resulting numbers array.
* @returns {number[]} Resulting numbers array.
*/
const getNumbersFromSvgPathDefinitionAttribute = (d) => {
return d
Expand Down Expand Up @@ -78,7 +78,7 @@ const langPercentFromDonutLayoutSvg = (d, centerX, centerY) => {
*
* @param {number} partLength Length of current chart part..
* @param {number} totalCircleLength Total length of circle.
* @return {number} Chart part percentage.
* @returns {number} Chart part percentage.
*/
const langPercentFromDonutVerticalLayoutSvg = (
partLength,
Expand Down

0 comments on commit 9f7184c

Please sign in to comment.