@shower/cli
Version:
Command line interface for Shower
13 lines (9 loc) • 317 B
JavaScript
const { handler: pdf, messages } = require('../pdf')
it('Must be function', () => {
expect(typeof pdf).toBe('function')
})
it('Messages must provided "start" and "end" messages', () => {
const { start, end } = messages({ file: '' })
expect(typeof start).toBe('string')
expect(typeof end).toBe('string')
})