bigbuffet-rw/app/soapbox/__tests__/api.js
2022-03-16 13:55:18 -05:00

8 lines
252 B
JavaScript

import api from 'soapbox/api';
import { getState } from 'soapbox/test_helpers';
test('returns a 404', () => {
return api(getState).get('/').catch(error => {
expect(error.response).toMatchObject({ data: { error: 'Not implemented' } });
});
});