import { stringByteSize } from './get-string-byte-size.js';
import { test, expect } from 'vitest';

test('Returns correct byte size for given input string', () => {
	expect(stringByteSize('test')).toBe(4);
	expect(stringByteSize('🐡')).toBe(4);
	expect(stringByteSize('👨‍👧‍👦')).toBe(18);
});
