style: fix Prettier formatting in ExemptionManager.test.tsx

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Samuel Stinkpost
2026-03-21 03:48:52 +00:00
parent 91c5aab091
commit eeaf49f5cd
+4 -18
View File
@@ -148,9 +148,7 @@ describe('ExemptionManager', () => {
}); });
it('collects failing checks from container-level results', () => { it('collects failing checks from container-level results', () => {
render( render(<ExemptionManager {...defaultProps} workloadResult={resultWithContainerFailures} />);
<ExemptionManager {...defaultProps} workloadResult={resultWithContainerFailures} />
);
fireEvent.click(screen.getByRole('button', { name: /add exemption/i })); fireEvent.click(screen.getByRole('button', { name: /add exemption/i }));
expect(screen.getByText('CPU Requests')).toBeInTheDocument(); expect(screen.getByText('CPU Requests')).toBeInTheDocument();
}); });
@@ -311,11 +309,7 @@ describe('ExemptionManager', () => {
it('uses core API path for Pod kind (no api group)', async () => { it('uses core API path for Pod kind (no api group)', async () => {
mockApiRequest.mockResolvedValue({}); mockApiRequest.mockResolvedValue({});
render( render(
<ExemptionManager <ExemptionManager {...defaultProps} kind="Pod" workloadResult={resultWithPodFailures} />
{...defaultProps}
kind="Pod"
workloadResult={resultWithPodFailures}
/>
); );
fireEvent.click(screen.getByRole('button', { name: /add exemption/i })); fireEvent.click(screen.getByRole('button', { name: /add exemption/i }));
fireEvent.click(screen.getByRole('checkbox', { name: /exempt from all checks/i })); fireEvent.click(screen.getByRole('checkbox', { name: /exempt from all checks/i }));
@@ -332,11 +326,7 @@ describe('ExemptionManager', () => {
it('uses batch API group for Job kind', async () => { it('uses batch API group for Job kind', async () => {
mockApiRequest.mockResolvedValue({}); mockApiRequest.mockResolvedValue({});
render( render(
<ExemptionManager <ExemptionManager {...defaultProps} kind="Job" workloadResult={resultWithPodFailures} />
{...defaultProps}
kind="Job"
workloadResult={resultWithPodFailures}
/>
); );
fireEvent.click(screen.getByRole('button', { name: /add exemption/i })); fireEvent.click(screen.getByRole('button', { name: /add exemption/i }));
fireEvent.click(screen.getByRole('checkbox', { name: /exempt from all checks/i })); fireEvent.click(screen.getByRole('checkbox', { name: /exempt from all checks/i }));
@@ -353,11 +343,7 @@ describe('ExemptionManager', () => {
it('uses batch API group for CronJob kind', async () => { it('uses batch API group for CronJob kind', async () => {
mockApiRequest.mockResolvedValue({}); mockApiRequest.mockResolvedValue({});
render( render(
<ExemptionManager <ExemptionManager {...defaultProps} kind="CronJob" workloadResult={resultWithPodFailures} />
{...defaultProps}
kind="CronJob"
workloadResult={resultWithPodFailures}
/>
); );
fireEvent.click(screen.getByRole('button', { name: /add exemption/i })); fireEvent.click(screen.getByRole('button', { name: /add exemption/i }));
fireEvent.click(screen.getByRole('checkbox', { name: /exempt from all checks/i })); fireEvent.click(screen.getByRole('checkbox', { name: /exempt from all checks/i }));