Update __tests__/camera.test.ts
This commit is contained in:
parent
4f7da2d795
commit
47e19f14aa
@ -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'))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user