Skip to content

Commit 1dcc5fc

Browse files
committed
update tests
1 parent c11b0e8 commit 1dcc5fc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/nuxt/components/VersionSelector.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,9 @@ describe('VersionSelector', () => {
509509
// Find the latest tag span
510510
const latestTags = component.findAll('span').filter(s => s.text() === 'latest')
511511
expect(latestTags.length).toBeGreaterThan(0)
512-
// Should have emerald styling
513-
const hasEmeraldStyling = latestTags.some(t => t.classes().some(c => c.includes('emerald')))
514-
expect(hasEmeraldStyling).toBe(true)
512+
// Should have green styling
513+
const hasGreenStyling = latestTags.some(t => t.classes().some(c => c.includes('green')))
514+
expect(hasGreenStyling).toBe(true)
515515
})
516516
})
517517

0 commit comments

Comments
 (0)