generated from Seekra/repository-template
refactor: avoid asynchronous functions without await
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user