sinProject-Inc / talk

Listening and Speaking
https://sinproject.net
MIT License
3 stars 6 forks source link

Use it.each on Vitest test codes #1466 #1467

Open REI-MORI opened 11 months ago

REI-MORI commented 11 months ago

closes #1466

For the Submitter

Tasks

For the Reviewer

Checks

After Reviewing

codeclimate[bot] commented 11 months ago

Code Climate has analyzed commit 54445f6a and detected 0 issues on this pull request.

View more on Code Climate.

github-actions[bot] commented 11 months ago

Update Summary

The revisions primarily involve changing the testing function used from 'test' to 'it' across multiple files.

src/lib/background/background.test.ts

src/lib/general/text_error.test.ts

src/lib/network/client_hostname.test.ts

src/lib/text/valid_text.test.ts

src/lib/view/message.test.ts

Suggestions for improvement

The updates mostly involve replacing the testing function; hence more of constraints in testing tools applied and not a logic change. Therefore, a generic suggestion can be provided for all files as mentioned below.

General Suggestions

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication