feat: build juozas auto site
This commit is contained in:
10
tests/contact.test.ts
Normal file
10
tests/contact.test.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { whatsappUrl } from '../src/lib/contact';
|
||||
|
||||
describe('contact links', () => {
|
||||
it('builds a Lithuanian WhatsApp inquiry link for a car', () => {
|
||||
expect(whatsappUrl('37061234567', 'BMW', '320d')).toBe(
|
||||
'https://wa.me/37061234567?text=Sveiki%2C%20domina%20BMW%20320d',
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user