department-of-veterans-affairs/vets-website

View on GitHub
src/applications/yellow-ribbon/api/index.unit.spec.js

Summary

Maintainability
A
0 mins
Test Coverage
// 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');
    });
  });
});