@rawcmd/core
Version:
Rawcmd core package.
13 lines (9 loc) • 314 B
text/typescript
import { Spec } from '@hayspec/spec';
import { CommandOption } from '../../../src';
const spec = new Spec();
spec.test('returns command option setter', async (ctx) => {
const setter = () => true;
const option = new CommandOption({ setter } as any);
ctx.is(option.setter, setter);
});
export default spec;