department-of-veterans-affairs/vets-website

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

Summary

Maintainability
A
0 mins
Test Coverage
// Dependencies.
import { expect } from 'chai';
// Relative imports.
import YellowRibbonApp from '../containers/YellowRibbonApp';
import routes from '.';

describe('Yellow Ribbon routes', () => {
  it('should have the main route', () => {
    const expectedRoutes = {
      path: '/',
      component: YellowRibbonApp,
    };

    expect(routes).to.deep.equal(expectedRoutes);
  });
});