Commit dbb0287d authored by Alexander Turinske's avatar Alexander Turinske

Update the test titles

parent 95139c06
......@@ -25,14 +25,14 @@ describe('WikiAlert', () => {
const findGlSprintf = () => wrapper.findComponent(GlSprintf);
describe('Wiki Alert', () => {
it('does show an alert when there is an error', () => {
it('shows an alert when there is an error', () => {
createWrapper({ error: ERROR });
expect(findGlAlert().exists()).toBe(true);
expect(findGlSprintf().exists()).toBe(true);
expect(findGlSprintf().attributes('message')).toBe(ERROR);
});
it('does show the link to the help path', () => {
it('shows a the link to the help path', () => {
createWrapper({ error: ERROR_WITH_LINK }, { GlAlert, GlSprintf });
expect(findGlLink().attributes('href')).toBe(PATH);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment