fix some ci issues

Signed-off-by: Mark Dunphy <markd@spotify.com>
This commit is contained in:
Mark Dunphy
2025-03-24 09:48:24 -04:00
parent cce3770453
commit d1071b7541
@@ -22,24 +22,21 @@ describe('EntityContextMenuItemBlueprint', () => {
const routeRef = createRouteRef();
const data = [
{
loader: async () => <li>Test!</li>,
},
{
title: 'Test',
useTitle: () => 'Test',
href: '/somewhere',
icon: <span>Test</span>,
},
{
title: 'Test',
useHref() {
useTitle: () => 'Test',
useHref: () => {
const r = useRouteRef(routeRef) ?? (() => '/somewhere');
return r();
},
icon: <span>Test</span>,
},
{
title: 'TestDialog',
dialogLoader: async () => () => <div>test dialog</div>,
useTitle: () => 'TestDialog',
useOnClick: () => () => true,
icon: <span>Test</span>,
},
];