test: use describe in all test files

This commit is contained in:
2026-08-09 13:09:39 +02:00
committed by Gitea
parent 7ae4fb9a3f
commit 18ba0f2a70
@@ -15,8 +15,9 @@ limitations under the License.
*/
import { getSetting, getSettingRecursively } from '../getSetting.js';
import { test, expect } from 'vitest';
import { describe, test, expect } from 'vitest';
describe('getSetting', () => {
test.for([
({ settings: [], name: '', expected: undefined }),
({ settings: [], name: 'a', expected: undefined }),
@@ -524,3 +525,4 @@ test.for([
])('returns $expected', ({ settings, path, expected }) => {
expect(getSettingRecursively(path, settings)).toStrictEqual(expected);
});
});