test(css-dimensions-util): add actual test

This commit is contained in:
2026-06-03 23:40:59 +02:00
parent 008e38e54a
commit 67fc878575
+3 -1
View File
@@ -14,8 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
import { test } from 'vitest'; import { expect, test } from 'vitest';
import { ensureUnit } from '../cssDimensions';
test.for([ test.for([
])('ensureUnit returns $expected with input $dimension', ({ dimension, expected }) => { ])('ensureUnit returns $expected with input $dimension', ({ dimension, expected }) => {
expect(ensureUnit(dimension)).toBe(expected);
}); });