message: add missing Caret borderColor tests
diff: import React from 'react'
  import Caret from '../Caret'
  -import {render} from '../utils/testing'
  +import {colors} from '../theme'
  +import {mount, render} from '../utils/testing'
  describe('Caret', () => {
  it('renders <svg>', () => {
  @@ -18,4 +19,16 @@ describe('Caret', () => {
  expect(render(<Caret location={location} />)).toMatchSnapshot()
  }
  })
  +
  + it('maps border colors', () => {
  + const wrapper = mount(<Caret borderColor="red" />)
  + expect(wrapper.find('path[stroke]').props().stroke).toEqual(colors.border.red)
  + })
  +
  + it('renders unknown borderColor as-is', () => {
  + const hush = jest.spyOn(console, 'error').mockImplementation(jest.fn())
  + const wrapper = mount(<Caret borderColor="#f0f" />)
  + expect(wrapper.find('path[stroke]').props().stroke).toEqual('#f0f')
  + hush.mockRestore()
  + })
  })
  