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