import { formatPrice } from './format'

describe('formatPrice', () => {
  test('formats correctly', () => {
    expect(formatPrice(100)).toBe('¥100.00')
    expect(formatPrice(0)).toBe('¥0.00')
    expect(formatPrice(99.9)).toBe('¥99.90')
  })
})
