refactor(cli): integrate real config loading into async test utils (#23040)

This commit is contained in:
Tommaso Sciortino
2026-03-19 17:05:33 +00:00
committed by GitHub
parent 8948c58b04
commit c59bc33ac4
103 changed files with 1806 additions and 1541 deletions
@@ -110,7 +110,7 @@ describe('getToolGroupBorderAppearance', () => {
describe('MainContent tool group border SVG snapshots', () => {
it('should render SVG snapshot for a pending search dialog (google_web_search)', async () => {
const renderResult = renderWithProviders(<MainContent />, {
const renderResult = await renderWithProviders(<MainContent />, {
...altBufferOptions,
uiState: {
history: [],
@@ -135,7 +135,7 @@ describe('MainContent tool group border SVG snapshots', () => {
});
it('should render SVG snapshot for an empty slice following a search tool', async () => {
const renderResult = renderWithProviders(<MainContent />, {
const renderResult = await renderWithProviders(<MainContent />, {
...altBufferOptions,
uiState: {
history: [],
@@ -164,7 +164,7 @@ describe('MainContent tool group border SVG snapshots', () => {
});
it('should render SVG snapshot for a shell tool', async () => {
const renderResult = renderWithProviders(<MainContent />, {
const renderResult = await renderWithProviders(<MainContent />, {
...altBufferOptions,
uiState: {
history: [],