Skip to content

Commit ab2cc9f

Browse files
committed
update Hero tests after removing security clearance
1 parent 9397c56 commit ab2cc9f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/components/Hero.test.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ describe('Hero', () => {
1818
expect(result).toContain('Senior Leadership');
1919
expect(result).toContain('Research');
2020
expect(result).toContain('Data Science');
21-
expect(result).toContain('TS/SCI w/ Polygraph');
2221
});
2322

2423
it('renders LinkedIn and GitHub CTAs', async () => {
@@ -64,11 +63,10 @@ describe('Hero', () => {
6463
it('credential badges have staggered animation delays', async () => {
6564
const result = await renderComponent(Hero);
6665
// Credential badges animate after image (0-300ms) and name (100-500ms)
67-
// Starting at 500ms with 150ms stagger: 500ms, 650ms, 800ms, 950ms
66+
// Starting at 500ms with 150ms stagger: 500ms, 650ms, 800ms
6867
expect(result).toContain('animation-delay: 500ms');
6968
expect(result).toContain('animation-delay: 650ms');
7069
expect(result).toContain('animation-delay: 800ms');
71-
expect(result).toContain('animation-delay: 950ms');
7270
});
7371

7472
it('has data-testid attributes for testing', async () => {
@@ -150,13 +148,6 @@ describe('Hero', () => {
150148
expect(result).toContain('sizes=');
151149
});
152150

153-
it('clearance badge has accent styling', async () => {
154-
const result = await renderComponent(Hero);
155-
// TS/SCI badge should have accent color styling with WCAG-compliant contrast
156-
expect(result).toContain('bg-accent/5');
157-
expect(result).toContain('text-accent-hover');
158-
});
159-
160151
it('education badges have surface styling', async () => {
161152
const result = await renderComponent(Hero);
162153
// Education badges should have surface background

0 commit comments

Comments
 (0)