Update __tests__/camera.test.ts

This commit is contained in:
Devin Tyler Cunningham 2025-03-21 08:48:05 -07:00 committed by GitHub
parent 4f7da2d795
commit 47e19f14aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,7 @@ describe('Camera', () => {
expect(formatCameraText(RICOH, 'short')).toBe('GR III'); expect(formatCameraText(RICOH, 'short')).toBe('GR III');
expect(formatCameraText(NIKON, 'short')).toBe('D7000'); expect(formatCameraText(NIKON, 'short')).toBe('D7000');
}); });
it('formats sony cameras', () => { it('formats Sony cameras', () => {
Object.entries(SONY_CAMERAS).forEach(([model, expected]) => { Object.entries(SONY_CAMERAS).forEach(([model, expected]) => {
const camera = { make: MAKE_SONY, model }; const camera = { make: MAKE_SONY, model };
expect(formatCameraText(camera, 'medium')) expect(formatCameraText(camera, 'medium'))