generated from Seekra/repository-template
Add CSS dimensions utility unit test #107
@@ -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);
|
||||
});
|
||||
Reference in New Issue
Block a user