Skip to content

feat: Jest → Vitest 移行(Issue #1017) - #1223

Merged
hakatashi merged 28 commits into
masterfrom
feat/vitest-migration
Jul 8, 2026
Merged

feat: Jest → Vitest 移行(Issue #1017)#1223
hakatashi merged 28 commits into
masterfrom
feat/vitest-migration

fix: resolve vitest-migration conflicts and lint errors from merged m…

bb0b7cb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 8, 2026 in 48s

Annotations

Check warning on line 363 in shogi/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXnmnCIMQVUwgcTo&open=AZ8TRXnmnCIMQVUwgcTo&pullRequest=1223

Check warning on line 260 in vocabwar/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not use nested template literals.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXq_nCIMQVUwgcUR&open=AZ8TRXq_nCIMQVUwgcUR&pullRequest=1223

Check warning on line 79 in shogi/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The arrow function should be named.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXnmnCIMQVUwgcTj&open=AZ8TRXnmnCIMQVUwgcTj&pullRequest=1223

Check warning on line 1 in vocabwar/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:fs` over `fs`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXq_nCIMQVUwgcUB&open=AZ8TRXq_nCIMQVUwgcUB&pullRequest=1223

Check warning on line 53 in lib/download.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer a more specific assertion instead of this generic one, e.g. "expect((<Mock> axios.get).mock.calls).toHaveLength(1)".

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8XdrvQAWi8G0XVbZyj&open=AZ8XdrvQAWi8G0XVbZyj&pullRequest=1223

Check warning on line 31 in checkin/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The arrow function should be named.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXqjnCIMQVUwgcT_&open=AZ8TRXqjnCIMQVUwgcT_&pullRequest=1223

Check warning on line 2 in vocabwar/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:path` over `path`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXq_nCIMQVUwgcUC&open=AZ8TRXq_nCIMQVUwgcUC&pullRequest=1223

Check warning on line 115 in pocky/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8ZqpQqtcCa52wOoRVv&open=AZ8ZqpQqtcCa52wOoRVv&pullRequest=1223

Check warning on line 37 in tahoiya/views/bettingModal.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not use nested template literals.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8_3lTOWI8nlgmg6dg4&open=AZ8_3lTOWI8nlgmg6dg4&pullRequest=1223

Check warning on line 18 in hitandblow/index.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace these 3 tests with a single Parameterized one.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8_0YJOcDaOUeGsTeAM&open=AZ8_0YJOcDaOUeGsTeAM&pullRequest=1223

Check warning on line 3 in vocabwar/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:assert` over `assert`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXq_nCIMQVUwgcUD&open=AZ8TRXq_nCIMQVUwgcUD&pullRequest=1223

Check warning on line 270 in shogi/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `new Array()` instead of `Array()`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXnmnCIMQVUwgcTl&open=AZ8TRXnmnCIMQVUwgcTl&pullRequest=1223

Check warning on line 18 in pocky/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXo4nCIMQVUwgcTx&open=AZ8TRXo4nCIMQVUwgcTx&pullRequest=1223

Check warning on line 584 in shogi/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8Y_1G7Rs-9Ay15w6ie&open=AZ8Y_1G7Rs-9Ay15w6ie&pullRequest=1223

Check warning on line 585 in shogi/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its complexity from 49 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8a_DCUYWu_9P1nkjuL&open=AZ8a_DCUYWu_9P1nkjuL&pullRequest=1223

Check warning on line 40 in vocabwar/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXq_nCIMQVUwgcUI&open=AZ8TRXq_nCIMQVUwgcUI&pullRequest=1223

Check warning on line 116 in pocky/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8ZqpQqtcCa52wOoRVw&open=AZ8ZqpQqtcCa52wOoRVw&pullRequest=1223

Check warning on line 135 in vocabwar/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unnecessary use of conditional expression for default assignment.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXq_nCIMQVUwgcUJ&open=AZ8TRXq_nCIMQVUwgcUJ&pullRequest=1223

Check warning on line 55 in lib/download.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer a more specific assertion instead of this generic one, e.g. "expect((<Mock> fs.createWriteStream).mock.calls).toHaveLength(1)".

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8XdrvQAWi8G0XVbZyk&open=AZ8XdrvQAWi8G0XVbZyk&pullRequest=1223

Check warning on line 3 in shogi/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:path` over `path`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXnmnCIMQVUwgcTg&open=AZ8TRXnmnCIMQVUwgcTg&pullRequest=1223

Check warning on line 369 in shogi/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXnmnCIMQVUwgcTq&open=AZ8TRXnmnCIMQVUwgcTq&pullRequest=1223

Check failure on line 64 in deploy/block.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8Xdr3cAWi8G0XVbZyq&open=AZ8Xdr3cAWi8G0XVbZyq&pullRequest=1223

Check warning on line 2 in shogi/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:fs` over `fs`.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8TRXnmnCIMQVUwgcTh&open=AZ8TRXnmnCIMQVUwgcTh&pullRequest=1223

Check failure on line 47 in deploy/block.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8Xdr3cAWi8G0XVbZyo&open=AZ8Xdr3cAWi8G0XVbZyo&pullRequest=1223

Check warning on line 355 in wordhero/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider Array.prototype.flat() instead of flatten() from lodash; check that the behavior is equivalent because the library handles nullish values differently from the native API.

See more on https://sonarcloud.io/project/issues?id=tsg-ut_slackbot&issues=AZ8_0YHFcDaOUeGsTeAK&open=AZ8_0YHFcDaOUeGsTeAK&pullRequest=1223