mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-23 02:02:31 -07:00
fix(cli): use bracket notation for index signature access in tests
This commit is contained in:
@@ -122,10 +122,9 @@ describe('experimentCommand', () => {
|
||||
);
|
||||
|
||||
it('should unset an experiment', async () => {
|
||||
|
||||
(
|
||||
mockContext.services.settings.merged as Record<string, unknown>
|
||||
).experimental = {
|
||||
(mockContext.services.settings.merged as Record<string, unknown>)[
|
||||
'experimental'
|
||||
] = {
|
||||
'enable-preview': true,
|
||||
};
|
||||
await unsetCommand?.action!(mockContext, 'enable-preview');
|
||||
|
||||
Reference in New Issue
Block a user