fix: fix crash when project or language name was __proto__ or other p… #1730
Annotations
9 errors
|
test (18.x)
Process completed with exit code 1.
|
|
src/lib/topProjectsStatistics/topProjectsStatistics.test.ts > topProjectsStatistics > has multiple entries of 2 projects, where p2 has more time:
src/lib/topProjectsStatistics/topProjectsStatistics.ts#L10
TypeError: Object.groupBy is not a function
❯ getAllTimeTopProjects src/lib/topProjectsStatistics/topProjectsStatistics.ts:10:28
❯ src/lib/topProjectsStatistics/topProjectsStatistics.test.ts:35:20
|
|
src/lib/topProjectsStatistics/topProjectsStatistics.test.ts > topProjectsStatistics > has multiple entries of 2 projects, where p2 has more time:
src/lib/topProjectsStatistics/topProjectsStatistics.ts#L10
TypeError: Object.groupBy is not a function
❯ getAllTimeTopProjects src/lib/topProjectsStatistics/topProjectsStatistics.ts:10:28
❯ src/lib/topProjectsStatistics/topProjectsStatistics.test.ts:20:20
|
|
src/lib/topProjectsStatistics/topProjectsStatistics.test.ts > topProjectsStatistics > has multiple entries of 1 project:
src/lib/topProjectsStatistics/topProjectsStatistics.ts#L10
TypeError: Object.groupBy is not a function
❯ getAllTimeTopProjects src/lib/topProjectsStatistics/topProjectsStatistics.ts:10:28
❯ src/lib/topProjectsStatistics/topProjectsStatistics.test.ts:10:20
|
|
src/lib/topProjectsStatistics/topProjectsStatistics.test.ts > topProjectsStatistics > has 0 entries:
src/lib/topProjectsStatistics/topProjectsStatistics.ts#L10
TypeError: Object.groupBy is not a function
❯ getAllTimeTopProjects src/lib/topProjectsStatistics/topProjectsStatistics.ts:10:28
❯ src/lib/topProjectsStatistics/topProjectsStatistics.test.ts:5:20
|
|
src/lib/topLanguagesStatistics/topLanguagesStatistics.test.ts > topLanguagesStatistics > has multiple items of 2 languages, where ts has more time:
src/lib/topLanguagesStatistics/topLanguagesStatistics.ts#L10
TypeError: Object.groupBy is not a function
❯ getAllTimeTopLanguages src/lib/topLanguagesStatistics/topLanguagesStatistics.ts:10:29
❯ src/lib/topLanguagesStatistics/topLanguagesStatistics.test.ts:35:20
|
|
src/lib/topLanguagesStatistics/topLanguagesStatistics.test.ts > topLanguagesStatistics > has multiple items of 2 languages, where java has more time:
src/lib/topLanguagesStatistics/topLanguagesStatistics.ts#L10
TypeError: Object.groupBy is not a function
❯ getAllTimeTopLanguages src/lib/topLanguagesStatistics/topLanguagesStatistics.ts:10:29
❯ src/lib/topLanguagesStatistics/topLanguagesStatistics.test.ts:20:20
|
|
src/lib/topLanguagesStatistics/topLanguagesStatistics.test.ts > topLanguagesStatistics > has multiple items of 1 language:
src/lib/topLanguagesStatistics/topLanguagesStatistics.ts#L10
TypeError: Object.groupBy is not a function
❯ getAllTimeTopLanguages src/lib/topLanguagesStatistics/topLanguagesStatistics.ts:10:29
❯ src/lib/topLanguagesStatistics/topLanguagesStatistics.test.ts:10:20
|
|
src/lib/topLanguagesStatistics/topLanguagesStatistics.test.ts > topLanguagesStatistics > has no items:
src/lib/topLanguagesStatistics/topLanguagesStatistics.ts#L10
TypeError: Object.groupBy is not a function
❯ getAllTimeTopLanguages src/lib/topLanguagesStatistics/topLanguagesStatistics.ts:10:29
❯ src/lib/topLanguagesStatistics/topLanguagesStatistics.test.ts:5:20
|