src/applications/yellow-ribbon/api/index.unit.spec.js
// Dependencies.
import { expect } from 'chai';
// Relative imports.
import { fetchResultsApi } from '.';
describe('Yellow Ribbon api functions', () => {
describe('fetchResultsApi', () => {
it('should return a normalized API response', async () => {
const apiCall = await fetchResultsApi({ mockRequest: true });
expect(apiCall).to.be.an('object');
});
});
});