import { http } from './http'

test('exports all REST API methods', () => {
  expect(http).toBeDefined()
  expect(Object.keys(http)).toEqual([
    'all',
    'head',
    'get',
    'post',
    'put',
    'delete',
    'patch',
    'options',
  ])
})
