fix(cli): use bracket notation for index signature access in tests

This commit is contained in:
mkorwel
2026-02-19 16:56:05 -06:00
committed by Matt Korwel
parent 38917d8ef1
commit f7cba3f3a4
@@ -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');