mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-13 11:22:11 +02:00
fix(cli): remove primary-source wording from setup output
This commit is contained in:
parent
efef54a52d
commit
bf581b9225
6 changed files with 9 additions and 6 deletions
|
|
@ -1190,7 +1190,7 @@ describe('setup sources step', () => {
|
|||
}
|
||||
});
|
||||
|
||||
it('does not offer context sources until a primary source exists', async () => {
|
||||
it('does not offer context sources until a database exists', async () => {
|
||||
const io = makeIo();
|
||||
const testPrompts = prompts({ multiselect: [['notion']] });
|
||||
|
||||
|
|
@ -1203,7 +1203,7 @@ describe('setup sources step', () => {
|
|||
).resolves.toEqual({ status: 'skipped', projectDir });
|
||||
|
||||
expect(testPrompts.multiselect).not.toHaveBeenCalled();
|
||||
expect(io.stdout()).toContain('Connect a primary source before adding context sources.');
|
||||
expect(io.stdout()).toContain('Connect a database before adding context sources.');
|
||||
expect(await readFile(join(projectDir, 'ktx.yaml'), 'utf-8')).not.toContain('completed_steps:');
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue