refactor: avoid asynchronous functions without await

This commit is contained in:
2026-08-08 15:35:01 +02:00
parent 8fe20970e5
commit e38e525d7a
@@ -56,7 +56,7 @@ describe('settingsPage', () => {
{ path: true, expected: [] }, { path: true, expected: [] },
{ path: null, expected: [] }, { path: null, expected: [] },
{ path: undefined, expected: [] } { path: undefined, expected: [] }
])('returns $expected', async ({ path, expected }) => { ])('returns $expected', ({ path, expected }) => {
expect(getSettingsPagePathSegments(path)).toStrictEqual(expected); expect(getSettingsPagePathSegments(path)).toStrictEqual(expected);
}); });
}); });