test: use describe in all test files
This commit is contained in:
1 parent
7ae4fb9a3f
commit
18ba0f2a70
1 file changed
+3
-1
@@ -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);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user