Skip to content

Commit ea3c3b6

Browse files
committed
docs(ui): Use plural in issue categorization test names
Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 240ce82 commit ea3c3b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ui/src/helpers/get-issue-category.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const getIssueCategory = (message: string): IssueCategory => {
6666
if (import.meta.vitest) {
6767
const { it, expect } = import.meta.vitest;
6868

69-
it('correctly categorizes an infrastructure issue', () => {
69+
it('correctly categorizes infrastructure issues', () => {
7070
const messages = [
7171
'The analyzer worker failed due to an unexpected error.',
7272
"ERROR: Timeout after 30 seconds while scanning file 'example.txt'.",
@@ -83,19 +83,19 @@ if (import.meta.vitest) {
8383
});
8484
});
8585

86-
it('correctly categorizes a missing data issue', () => {
86+
it('correctly categorizes missing data issues', () => {
8787
const message =
8888
"IOException: Could not resolve provenance for package 'Pod::RNVectorIcons:10.2.0' for source code origins [ARTIFACT, VCS].";
8989
expect(getIssueCategory(message)).toBe('Missing Data');
9090
});
9191

92-
it('correctly categorizes a build system issue', () => {
92+
it('correctly categorizes build system issues', () => {
9393
const message =
9494
"GradleInspector failed to resolve dependencies for path 'android/build.gradle':";
9595
expect(getIssueCategory(message)).toBe('Build System');
9696
});
9797

98-
it('correctly categorizes an other issue', () => {
98+
it('correctly categorizes other issues', () => {
9999
const message = 'Some other issue occurred.';
100100
expect(getIssueCategory(message)).toBe('Other');
101101
});

0 commit comments

Comments
 (0)