UNPKG

@rawcmd/core

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