UNPKG

barkbyte

Version:

A dog-related utility package

10 lines (9 loc) 315 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const index_1 = require("./index"); test('bark returns default sound', () => { expect((0, index_1.bark)()).toBe('Woof!'); }); test('bark returns custom sound', () => { expect((0, index_1.bark)('Bark bark')).toBe('Bark bark'); });