Chore: cleans up Angular tests (#110757)

This commit is contained in:
Hugo Häggmark authored and GitHub committed 2025-09-08 14:16:08 +02:00
1 parent ace05e999d
commit 8a28381278
1 file changed
-10
@@ -98,14 +98,4 @@ describe('PluginListItemBadges', () => {
);
expect(screen.queryByText(/update available/i)).toBeNull();
});
it('does not render an angular badge (when plugin is angular), because its not loaded', () => {
render(<PluginListItemBadges plugin={{ ...plugin, angularDetected: true }} />);
expect(screen.queryByText(/angular/i)).not.toBeInTheDocument();
});
it('does not render an angular badge (when plugin is not angular)', () => {
render(<PluginListItemBadges plugin={{ ...plugin, angularDetected: false }} />);
expect(screen.queryByText(/angular/i)).toBeNull();
});
});