Skill update round trip / roundtrip (false, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, latest) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
20 lines
663 B
TypeScript
20 lines
663 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
import { isMacosTahoeOrNewer } from './macos-tahoe-release'
|
|
|
|
describe('isMacosTahoeOrNewer', () => {
|
|
it('detects Darwin 25+ (macOS 26) as Tahoe or newer', () => {
|
|
expect(isMacosTahoeOrNewer('25.5.0')).toBe(true)
|
|
expect(isMacosTahoeOrNewer('26.0.0')).toBe(true)
|
|
})
|
|
|
|
it('treats older Darwin releases as pre-Tahoe', () => {
|
|
expect(isMacosTahoeOrNewer('24.6.0')).toBe(false)
|
|
expect(isMacosTahoeOrNewer('23.0.0')).toBe(false)
|
|
})
|
|
|
|
it('treats unparseable releases as pre-Tahoe', () => {
|
|
expect(isMacosTahoeOrNewer('')).toBe(false)
|
|
expect(isMacosTahoeOrNewer('unknown')).toBe(false)
|
|
})
|
|
})
|