@shower/cli
Version:
Command line interface for Shower
16 lines (12 loc) • 400 B
JavaScript
import { describe, it } from 'node:test';
import assert from 'node:assert/strict';
import { handler as archive, messages } from '../archive.js';
describe('archive', () => {
it('Must be function', () => {
assert.equal(typeof archive, 'function');
});
it('Messages must provided "end" message', () => {
const { end } = messages({ output: '' });
assert.equal(typeof end, 'string');
});
});