Skip to content

Commit 425b44a

Browse files
committed
fix(tests): use renderWithI18n in ConnectIDEs opencode test
Test called the undefined render() instead of the i18n-aware helper used elsewhere in the file, failing every run. Signed-off-by: crimsonsunset <jsangio1@gmail.com>
1 parent 18a7976 commit 425b44a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/ts/components/ConnectIDEs.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe('ConnectIDEs', () => {
4848
writable: true,
4949
configurable: true,
5050
});
51-
render(<ConnectIDEs gatewayUrl="http://localhost:45818" gatewayRunning={true} />);
51+
renderWithI18n(<ConnectIDEs gatewayUrl="http://localhost:45818" gatewayRunning={true} />);
5252

5353
await user.click(screen.getByTestId('client-icon-opencode'));
5454
await user.click(screen.getByRole('button', { name: /Copy config/i }));

0 commit comments

Comments
 (0)