Skip to content

Commit 34816ea

Browse files
Copilothotlong
andcommitted
fix: clarify test description for onRowClick prop ignored regression test
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent e9c739c commit 34816ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/console/src/__tests__/ObjectView.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ describe('ObjectView Component', () => {
935935
expect(screen.getByTestId('view-config-panel')).toBeInTheDocument();
936936
});
937937

938-
it('ignores external onRowClick for page navigation mode — navigates to record detail', () => {
938+
it('navigates to record detail in page mode even if an onRowClick prop is passed (prop is ignored)', () => {
939939
const externalRowClick = vi.fn();
940940
const objectsWithPage = [{
941941
...mockObjects[0],

0 commit comments

Comments
 (0)