Skip to content

Commit 0925161

Browse files
committed
docs(test): add fileoverview headers to utility test files
Add descriptive @fileoverview headers to utility function tests: - lang.test.mts: null/undefined/empty string detection - strings.test.mts: string validation, normalization, transformation - helpers.test.mts: createHelpersNamespaceObject utility
1 parent 81a6457 commit 0925161

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

test/helpers.test.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* @fileoverview Unit tests for helper utilities.
3+
* Tests the createHelpersNamespaceObject function which reorganizes helper objects
4+
* by property names, with support for defaults, custom comparators, and null prototypes.
5+
*/
16
import { describe, expect, it } from 'vitest'
27

38
import { createHelpersNamespaceObject } from '../src/helpers.js'

test/lang.test.mts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @fileoverview Unit tests for language utility functions.
3+
* Tests null/undefined/empty string detection utilities used throughout the codebase.
4+
*/
15
import { describe, expect, it } from 'vitest'
26

37
import { isNullishOrEmptyString } from '../src/lang.js'

test/strings.test.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* @fileoverview Unit tests for string manipulation utilities.
3+
* Tests string validation, normalization, transformation, and comparison functions
4+
* including whitespace detection, semver validation, case conversion, and character replacement.
5+
*/
16
import { describe, expect, it } from 'vitest'
27

38
import {

0 commit comments

Comments
 (0)