Add CSS dimensions utility unit test #107

Merged
jakob.scheid merged 8 commits from testing/css-dimensions-util into main 2026-06-04 12:41:14 +02:00
Showing only changes of commit 67fc878575 - Show all commits
+3 -1
View File
@@ -14,8 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { test } from 'vitest';
import { expect, test } from 'vitest';
import { ensureUnit } from '../cssDimensions';
test.for([
])('ensureUnit returns $expected with input $dimension', ({ dimension, expected }) => {
expect(ensureUnit(dimension)).toBe(expected);
});