070959e133
landing-page-staging / Deploy landing page to staging (push) Has been skipped
landing-page-ci / Validate landing page (push) Failing after 4s
visual-baseline / Capture visual baselines (push) Has been cancelled
bake-plugin-previews / Bake plugin previews (push) Has been cancelled
21 lines
523 B
TypeScript
21 lines
523 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
|
|
import { splitResearchSubcommand } from '../src/research/cli-args.js';
|
|
|
|
describe('research CLI', () => {
|
|
it('preserves query values equal to the search subcommand', () => {
|
|
expect(
|
|
splitResearchSubcommand([
|
|
'search',
|
|
'--query',
|
|
'search',
|
|
'--daemon-url',
|
|
'http://127.0.0.1:7456',
|
|
]),
|
|
).toEqual({
|
|
sub: 'search',
|
|
subArgs: ['--query', 'search', '--daemon-url', 'http://127.0.0.1:7456'],
|
|
});
|
|
});
|
|
});
|