test(style): add describe to cssDimensions test

This commit is contained in:
2026-07-28 20:15:58 +02:00
committed by Gitea
parent 799d7ee0bc
commit 7ee9c45339
+3 -1
View File
@@ -14,9 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { expect, test } from 'vitest';
import { describe, expect, test } from 'vitest';
import { ensureUnit } from '../cssDimensions';
describe('cssDimensions', () => {
test.for([
{ dimension: null, expected: '0px' },
{ dimension: undefined, expected: '0px' },
@@ -120,3 +121,4 @@ test.for([
])('ensureUnit returns $expected with input $dimension', ({ dimension, expected }) => {
expect(ensureUnit(dimension)).toBe(expected);
});
});