UNPKG

barkbyte

Version:

A dog-related utility package

9 lines (7 loc) 203 B
import {bark} from './index'; test('bark returns default sound', () => { expect(bark()).toBe('Woof!'); }); test('bark returns custom sound', () => { expect(bark('Bark bark')).toBe('Bark bark'); });