mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-23 12:15:42 +00:00
Remove dead empty-iterable guardrail loops from contract tests
This commit is contained in:
@@ -1354,16 +1354,6 @@ describe('shared primitive guardrails', () => {
|
||||
expect(apiTokenManagerSource.match(/frame="flush"/g) ?? []).toHaveLength(1);
|
||||
expect(rolesPanelSource.match(/frame="flush"/g) ?? []).toHaveLength(1);
|
||||
expect(userAssignmentsPanelSource.match(/frame="flush"/g) ?? []).toHaveLength(1);
|
||||
|
||||
for (const source of []) {
|
||||
expect(source).toContain("from '@/components/shared/Table'");
|
||||
expect(source).not.toContain('<table');
|
||||
expect(source).not.toContain('<thead');
|
||||
expect(source).not.toContain('<tbody');
|
||||
expect(source).not.toContain('<tr ');
|
||||
expect(source).not.toContain('<td ');
|
||||
expect(source).not.toContain('<th ');
|
||||
}
|
||||
});
|
||||
|
||||
it('keeps chart visibility display actions on the shared toolbar toggle', () => {
|
||||
|
||||
@@ -2684,15 +2684,6 @@ describe('frontend resource type boundaries', () => {
|
||||
expect(storageDomainSource).toContain('export const getCephDisconnectedStatePresentation');
|
||||
expect(storageDomainSource).toContain('export const getCephNoClustersStatePresentation');
|
||||
expect(storageDomainSource).toContain('export const getCephPoolsSearchEmptyStatePresentation');
|
||||
for (const source of []) {
|
||||
expect(source).toContain("from '@/components/shared/Table'");
|
||||
expect(source).not.toContain('<table');
|
||||
expect(source).not.toContain('<thead');
|
||||
expect(source).not.toContain('<tbody');
|
||||
expect(source).not.toContain('<tr ');
|
||||
expect(source).not.toContain('<td ');
|
||||
expect(source).not.toContain('<th ');
|
||||
}
|
||||
expect(alertHistoryTableSectionSource).toContain('AlertHistoryTableGroupRow');
|
||||
expect(alertHistoryTableSectionSource).toContain('AlertHistoryTableAlertRow');
|
||||
expect(alertHistoryTableAlertRowSource).toContain('getAlertHistoryStatusPresentation');
|
||||
|
||||
Reference in New Issue
Block a user