Skip to content

Commit e95a757

Browse files
committed
refactor: - explicit sorting function
1 parent 39afd6b commit e95a757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestingTools/TaskBuilder.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('TaskBuilder', () => {
6565
nullOrUnsetFields.push(key);
6666
}
6767
}
68-
return nullOrUnsetFields.sort();
68+
return nullOrUnsetFields.sort((a, b) => a.localeCompare(b));
6969
}
7070

7171
it('createFullyPopulatedTask() should populate every field', () => {

0 commit comments

Comments
 (0)