Skip to content

Commit bc97dd7

Browse files
committed
test: cover README config.list commands in websocket smoke
1 parent cef36f9 commit bc97dd7

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

test/cerebro-readme.test.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,20 @@ test('README cerebro.info commands work against websocket tRPC bridge', async ()
4141

4242
const cwd = path.resolve(__dirname, '..');
4343

44+
const rushxConfigList = await execFileAsync('rushx', ['cli', 'config.list'], {
45+
cwd,
46+
env,
47+
});
48+
49+
expect(rushxConfigList.stdout).toContain('Current Configuration');
50+
51+
const binConfigList = await execFileAsync('./bin/arken', ['config.list'], {
52+
cwd,
53+
env,
54+
});
55+
56+
expect(binConfigList.stdout).toContain('Current Configuration');
57+
4458
const rushxInfo = await execFileAsync('rushx', ['cli', 'cerebro.info'], {
4559
cwd,
4660
env,

0 commit comments

Comments
 (0)