Skip to content

Commit 7e03ad8

Browse files
committed
test: - Add test of converting 'medium' to Priority.Medium
1 parent 819f0bf commit 7e03ad8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/lib/PriorityTools.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe('priority naming', () => {
1717
// Normal cases
1818
['highest', Priority.Highest],
1919
['high', Priority.High],
20+
['medium', Priority.Medium],
2021
['none', Priority.None],
2122
['normal', Priority.None],
2223
['low', Priority.Low],
@@ -26,10 +27,10 @@ describe('priority naming', () => {
2627
['', Priority.None],
2728
['invalid_priority_string!', Priority.None],
2829

29-
// Priority string is lower-cased
30+
// Priority search is case-insensitive
3031
['Highest', Priority.Highest],
3132
['highEst', Priority.Highest],
32-
])('should get priority value "%s"', (str, value) => {
33+
])('should get priority value for "%s"', (str, value) => {
3334
expect(PriorityTools.priorityValue(str)).toEqual(value);
3435
});
3536
});

0 commit comments

Comments
 (0)