src/applications/static-pages/health-care-manage-benefits/refill-track-prescriptions-page/components/UnauthContent/index.unit.spec.js
// Dependencies.
import React from 'react';
import { expect } from 'chai';
import { shallow } from 'enzyme';
// Relative imports.
import UnauthContent from '.';
describe('Prescriptions Page <UnauthContent>', () => {
it('renders what we expect', () => {
const wrapper = shallow(<UnauthContent />);
const text = wrapper.text();
expect(text).to.include(
'How can VA’s prescription tool help me manage my health care?',
);
expect(text).to.include('Am I eligible to use this tool?');
expect(text).to.include('Once I’m signed in, how do I get started?');
expect(text).to.include(
'Can I use this tool to refill and track all my VA prescriptions?',
);
expect(text).to.include('Where will VA send my prescriptions?');
expect(text).to.include(
'When will I get my prescriptions, and when should I reorder?',
);
expect(text).to.include(
'Will my personal health information be protected?',
);
expect(text).to.include('What if I have more questions?');
wrapper.unmount();
});
});