UNPKG

@rawcmd/core

Version:
12 lines (8 loc) 261 B
import { Spec } from '@hayspec/spec'; import { Command } from '../../../src'; const spec = new Spec(); spec.test('returns command name', async (ctx) => { const command = new Command({ name: 'foo' }); ctx.is(command.name, 'foo'); }); export default spec;