feat: add string utility tests and vitest browser configuration

This commit is contained in:
Marc Emmanuel 2026-01-23 08:38:42 +01:00
parent 81c1ba2963
commit a89694d5c4
5 changed files with 587 additions and 5 deletions

View file

@ -0,0 +1,8 @@
import { expect, describe, it } from 'vitest'
import { round } from './stringUtils'
describe('round', () => {
it('should be able to handle undefined input', () => {
expect(round(undefined)).toBe("");
});
})