refactor: avoid asynchronous functions without await

This commit is contained in:
jakob.scheid authored and Gitea committed 2026-08-09 13:09:39 +02:00
1 parent 870a26d766
commit 7262024b78
1 file changed
+1 -1
@@ -56,7 +56,7 @@ describe('settingsPage', () => {
{ path: true, expected: [] },
{ path: null, expected: [] },
{ path: undefined, expected: [] }
])('returns $expected', async ({ path, expected }) => {
])('returns $expected', ({ path, expected }) => {
expect(getSettingsPagePathSegments(path)).toStrictEqual(expected);
});
});