Skip to content

Remove Array.prototype.reduce usage from the unit-tests#19776

Merged
timvandermeij merged 1 commit intomozilla:masterfrom
Snuffleupagus:rm-reduce-unit-tests
Apr 6, 2025
Merged

Remove Array.prototype.reduce usage from the unit-tests#19776
timvandermeij merged 1 commit intomozilla:masterfrom
Snuffleupagus:rm-reduce-unit-tests

Conversation

@Snuffleupagus
Copy link
Collaborator

Using Array.prototype.reduce often leads to less readable code, and in these cases we can replace it with other Array-methods instead.

Using `Array.prototype.reduce` often leads to less readable code, and in these cases we can replace it with other Array-methods instead.
@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/40e82b3fa8086fa/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/8b948d6a273bc69/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/40e82b3fa8086fa/output.txt

Total script time: 2.36 mins

  • Unit Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/8b948d6a273bc69/output.txt

Total script time: 7.67 mins

  • Unit Tests: Passed

@timvandermeij timvandermeij merged commit 082485f into mozilla:master Apr 6, 2025
7 checks passed
@timvandermeij
Copy link
Contributor

Thanks!

@Snuffleupagus Snuffleupagus deleted the rm-reduce-unit-tests branch April 6, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants