Chore: cleans up Angular tests (#110757)

This commit is contained in:
Hugo Häggmark 2025-09-08 14:16:08 +02:00 committed by GitHub
parent ace05e999d
commit 8a28381278
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 10 deletions

View File

@ -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();
});
});